Package ai.chalk.protos.chalk.lsp.v1
Class Diagnostic.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
ai.chalk.protos.chalk.lsp.v1.Diagnostic.Builder
- All Implemented Interfaces:
DiagnosticOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Diagnostic
public static final class Diagnostic.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
implements DiagnosticOrBuilder
Protobuf type
chalk.lsp.v1.Diagnostic-
Method Summary
Modifier and TypeMethodDescriptionaddAllRelatedInformation(Iterable<? extends DiagnosticRelatedInformation> values) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];addRelatedInformation(int index, DiagnosticRelatedInformation value) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];addRelatedInformation(int index, DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];addRelatedInformation(DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];addRelatedInformationBuilder(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional string code = 4 [json_name = "code"];.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];clearField(com.google.protobuf.Descriptors.FieldDescriptor field) string message = 2 [json_name = "message"];clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .chalk.lsp.v1.Range range = 1 [json_name = "range"];repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];clone()getCode()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"];.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring 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"];.chalk.lsp.v1.Range range = 1 [json_name = "range"];getRelatedInformation(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];getRelatedInformationBuilder(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];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"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];mergeFrom(Diagnostic other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRange(Range value) .chalk.lsp.v1.Range range = 1 [json_name = "range"];final Diagnostic.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRelatedInformation(int index) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];optional string code = 4 [json_name = "code"];setCodeBytes(com.google.protobuf.ByteString value) optional string code = 4 [json_name = "code"];.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];setCodeDescription(CodeDescription.Builder builderForValue) .chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"];setMessage(String value) string message = 2 [json_name = "message"];setMessageBytes(com.google.protobuf.ByteString value) string message = 2 [json_name = "message"];.chalk.lsp.v1.Range range = 1 [json_name = "range"];setRange(Range.Builder builderForValue) .chalk.lsp.v1.Range range = 1 [json_name = "range"];setRelatedInformation(int index, DiagnosticRelatedInformation value) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];setRelatedInformation(int index, DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSeverity(DiagnosticSeverity value) .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];setSeverityValue(int value) .chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];final Diagnostic.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Diagnostic.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
setField
public Diagnostic.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
setRepeatedField
public Diagnostic.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
addRepeatedField
public Diagnostic.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Diagnostic.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeFrom
public Diagnostic.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Diagnostic.Builder>- Throws:
IOException
-
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.
-
setRange
.chalk.lsp.v1.Range range = 1 [json_name = "range"]; -
setRange
.chalk.lsp.v1.Range range = 1 [json_name = "range"]; -
mergeRange
.chalk.lsp.v1.Range range = 1 [json_name = "range"]; -
clearRange
.chalk.lsp.v1.Range range = 1 [json_name = "range"]; -
getRangeBuilder
.chalk.lsp.v1.Range range = 1 [json_name = "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.
-
setMessage
string message = 2 [json_name = "message"];- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
string message = 2 [json_name = "message"];- Returns:
- This builder for chaining.
-
setMessageBytes
string message = 2 [json_name = "message"];- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
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.
-
setSeverityValue
.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Parameters:
value- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Specified by:
getSeverityin interfaceDiagnosticOrBuilder- Returns:
- The severity.
-
setSeverity
.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
.chalk.lsp.v1.DiagnosticSeverity severity = 3 [json_name = "severity"];- Returns:
- This builder for chaining.
-
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.
-
setCode
optional string code = 4 [json_name = "code"];- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
optional string code = 4 [json_name = "code"];- Returns:
- This builder for chaining.
-
setCodeBytes
optional string code = 4 [json_name = "code"];- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
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.
-
setCodeDescription
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"]; -
setCodeDescription
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"]; -
mergeCodeDescription
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"]; -
clearCodeDescription
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "codeDescription"]; -
getCodeDescriptionBuilder
.chalk.lsp.v1.CodeDescription code_description = 5 [json_name = "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
-
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
-
setRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
setRelatedInformation
public Diagnostic.Builder setRelatedInformation(int index, DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addRelatedInformation
public Diagnostic.Builder addRelatedInformation(DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addRelatedInformation
public Diagnostic.Builder addRelatedInformation(int index, DiagnosticRelatedInformation.Builder builderForValue) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addAllRelatedInformation
public Diagnostic.Builder addAllRelatedInformation(Iterable<? extends DiagnosticRelatedInformation> values) repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
clearRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
removeRelatedInformation
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
getRelatedInformationBuilder
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
getRelatedInformationOrBuilder
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationOrBuilderin interfaceDiagnosticOrBuilder
-
getRelatedInformationOrBuilderList
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"];- Specified by:
getRelatedInformationOrBuilderListin interfaceDiagnosticOrBuilder
-
addRelatedInformationBuilder
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
addRelatedInformationBuilder
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
getRelatedInformationBuilderList
repeated .chalk.lsp.v1.DiagnosticRelatedInformation related_information = 6 [json_name = "relatedInformation"]; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-
mergeUnknownFields
public final Diagnostic.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Diagnostic.Builder>
-