Class Diagnostic

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.lsp.v1.Diagnostic
All Implemented Interfaces:
DiagnosticOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class Diagnostic extends com.google.protobuf.GeneratedMessageV3 implements DiagnosticOrBuilder
Protobuf type chalk.lsp.v1.Diagnostic
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type chalk.lsp.v1.Diagnostic

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    optional string code = 4 [json_name = "code"];
    com.google.protobuf.ByteString
    optional string code = 4 [json_name = "code"];
    .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
    .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
    static Diagnostic
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    string message = 2 [json_name = "message"];
    com.google.protobuf.ByteString
    string message = 2 [json_name = "message"];
    com.google.protobuf.Parser<Diagnostic>
     
    .chalk.lsp.v1.Range range = 1 [json_name = "range"];
    .chalk.lsp.v1.Range range = 1 [json_name = "range"];
    repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    int
    repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
    int
     
    .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];
    int
    .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];
    boolean
    optional string code = 4 [json_name = "code"];
    boolean
    .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
    int
     
    boolean
    .chalk.lsp.v1.Range range = 1 [json_name = "range"];
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Diagnostic
     
    static Diagnostic
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Diagnostic
    parseFrom(byte[] data)
     
    static Diagnostic
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Diagnostic
    parseFrom(com.google.protobuf.ByteString data)
     
    static Diagnostic
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Diagnostic
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Diagnostic
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Diagnostic
     
    static Diagnostic
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Diagnostic
     
    static Diagnostic
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Diagnostic>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • RANGE_FIELD_NUMBER

      public static final int RANGE_FIELD_NUMBER
      See Also:
    • MESSAGE_FIELD_NUMBER

      public static final int MESSAGE_FIELD_NUMBER
      See Also:
    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • CODE_FIELD_NUMBER

      public static final int CODE_FIELD_NUMBER
      See Also:
    • CODE_DESCRIPTION_FIELD_NUMBER

      public static final int CODE_DESCRIPTION_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasRange

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

      public Range getRange()
      .chalk.lsp.v1.Range range = 1 [json_name = "range"];
      Specified by:
      getRange in interface DiagnosticOrBuilder
      Returns:
      The range.
    • getRangeOrBuilder

      public RangeOrBuilder getRangeOrBuilder()
      .chalk.lsp.v1.Range range = 1 [json_name = "range"];
      Specified by:
      getRangeOrBuilder in interface DiagnosticOrBuilder
    • getMessage

      public String getMessage()
      string message = 2 [json_name = "message"];
      Specified by:
      getMessage in interface DiagnosticOrBuilder
      Returns:
      The message.
    • getMessageBytes

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

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

      public DiagnosticSeverity getSeverity()
      .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];
      Specified by:
      getSeverity in interface DiagnosticOrBuilder
      Returns:
      The severity.
    • hasCode

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

      public String getCode()
      optional string code = 4 [json_name = "code"];
      Specified by:
      getCode in interface DiagnosticOrBuilder
      Returns:
      The code.
    • getCodeBytes

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

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

      public CodeDescription getCodeDescription()
      .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
      Specified by:
      getCodeDescription in interface DiagnosticOrBuilder
      Returns:
      The codeDescription.
    • getCodeDescriptionOrBuilder

      public CodeDescriptionOrBuilder getCodeDescriptionOrBuilder()
      .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];
      Specified by:
      getCodeDescriptionOrBuilder in interface DiagnosticOrBuilder
    • getRelatedInformationList

      public List<DiagnosticRelatedInformation> getRelatedInformationList()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
      Specified by:
      getRelatedInformationList in interface DiagnosticOrBuilder
    • getRelatedInformationOrBuilderList

      public List<? extends DiagnosticRelatedInformationOrBuilder> getRelatedInformationOrBuilderList()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
      Specified by:
      getRelatedInformationOrBuilderList in interface DiagnosticOrBuilder
    • getRelatedInformationCount

      public int getRelatedInformationCount()
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
      Specified by:
      getRelatedInformationCount in interface DiagnosticOrBuilder
    • getRelatedInformation

      public DiagnosticRelatedInformation getRelatedInformation(int index)
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
      Specified by:
      getRelatedInformation in interface DiagnosticOrBuilder
    • getRelatedInformationOrBuilder

      public DiagnosticRelatedInformationOrBuilder getRelatedInformationOrBuilder(int index)
      repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
      Specified by:
      getRelatedInformationOrBuilder in interface DiagnosticOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Diagnostic parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Diagnostic parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Diagnostic parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Diagnostic parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Diagnostic parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Diagnostic parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Diagnostic parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Diagnostic.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Diagnostic.Builder newBuilder()
    • newBuilder

      public static Diagnostic.Builder newBuilder(Diagnostic prototype)
    • toBuilder

      public Diagnostic.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Diagnostic.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Diagnostic getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Diagnostic> parser()
    • getParserForType

      public com.google.protobuf.Parser<Diagnostic> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Diagnostic getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder