Package ai.chalk.protos.chalk.lsp.v1
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 Summary
Modifier and TypeMethodDescriptiongetCode()optional string code = 4 [json_name = "code"];com.google.protobuf.ByteStringoptional 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"];string message = 2 [json_name = "message"];com.google.protobuf.ByteStringstring message = 2 [json_name = "message"];getRange().chalk.lsp.v1.Range range = 1 [json_name = "range"];.chalk.lsp.v1.Range range = 1 [json_name = "range"];getRelatedInformation(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];intrepeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];getRelatedInformationOrBuilder(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];List<? extends DiagnosticRelatedInformationOrBuilder>repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];int.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];booleanhasCode()optional string code = 4 [json_name = "code"];boolean.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];booleanhasRange().chalk.lsp.v1.Range range = 1 [json_name = "range"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];
-