Package ai.chalk.protos.chalk.lsp.v1
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 ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.lsp.v1.DiagnosticNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()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"];static Diagnosticstatic final com.google.protobuf.Descriptors.Descriptorstring message = 2 [json_name = "message"];com.google.protobuf.ByteStringstring message = 2 [json_name = "message"];com.google.protobuf.Parser<Diagnostic>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"];int.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"];inthashCode()booleanhasRange().chalk.lsp.v1.Range range = 1 [json_name = "range"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Diagnostic.Builderstatic Diagnostic.BuildernewBuilder(Diagnostic prototype) protected Diagnostic.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static DiagnosticparseDelimitedFrom(InputStream input) static DiagnosticparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiagnosticparseFrom(byte[] data) static DiagnosticparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiagnosticparseFrom(com.google.protobuf.ByteString data) static DiagnosticparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiagnosticparseFrom(com.google.protobuf.CodedInputStream input) static DiagnosticparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiagnosticparseFrom(InputStream input) static DiagnosticparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DiagnosticparseFrom(ByteBuffer data) static DiagnosticparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Diagnostic>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
-
RELATED_INFORMATION_FIELD_NUMBER
public static final int RELATED_INFORMATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasRange
public boolean hasRange().chalk.lsp.v1.Range range = 1 [json_name = "range"];- Specified by:
hasRangein interfaceDiagnosticOrBuilder- Returns:
- Whether the range field is set.
-
getRange
.chalk.lsp.v1.Range range = 1 [json_name = "range"];- Specified by:
getRangein interfaceDiagnosticOrBuilder- Returns:
- The range.
-
getRangeOrBuilder
.chalk.lsp.v1.Range range = 1 [json_name = "range"];- Specified by:
getRangeOrBuilderin interfaceDiagnosticOrBuilder
-
getMessage
string message = 2 [json_name = "message"];- Specified by:
getMessagein interfaceDiagnosticOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 2 [json_name = "message"];- Specified by:
getMessageBytesin interfaceDiagnosticOrBuilder- Returns:
- The bytes for message.
-
getSeverityValue
public int getSeverityValue().chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Specified by:
getSeverityValuein interfaceDiagnosticOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Specified by:
getSeverityin interfaceDiagnosticOrBuilder- Returns:
- The severity.
-
hasCode
public boolean hasCode()optional string code = 4 [json_name = "code"];- Specified by:
hasCodein interfaceDiagnosticOrBuilder- Returns:
- Whether the code field is set.
-
getCode
optional string code = 4 [json_name = "code"];- Specified by:
getCodein interfaceDiagnosticOrBuilder- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.ByteString getCodeBytes()optional string code = 4 [json_name = "code"];- Specified by:
getCodeBytesin interfaceDiagnosticOrBuilder- Returns:
- The bytes for code.
-
hasCodeDescription
public boolean hasCodeDescription().chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];- Specified by:
hasCodeDescriptionin interfaceDiagnosticOrBuilder- Returns:
- Whether the codeDescription field is set.
-
getCodeDescription
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];- Specified by:
getCodeDescriptionin interfaceDiagnosticOrBuilder- Returns:
- The codeDescription.
-
getCodeDescriptionOrBuilder
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];- Specified by:
getCodeDescriptionOrBuilderin interfaceDiagnosticOrBuilder
-
getRelatedInformationList
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationListin interfaceDiagnosticOrBuilder
-
getRelatedInformationOrBuilderList
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationOrBuilderListin interfaceDiagnosticOrBuilder
-
getRelatedInformationCount
public int getRelatedInformationCount()repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationCountin interfaceDiagnosticOrBuilder
-
getRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationin interfaceDiagnosticOrBuilder
-
getRelatedInformationOrBuilder
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationOrBuilderin interfaceDiagnosticOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Diagnostic parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Diagnostic parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Diagnostic parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Diagnostic.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-