Package io.bazel.rules_scala.diagnostics
Interface Diagnostics.DiagnosticOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
Diagnostics.Diagnostic,Diagnostics.Diagnostic.Builder
- Enclosing class:
- Diagnostics
public static interface Diagnostics.DiagnosticOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCode()int64 code = 3;java.lang.StringgetMessage()string message = 5;ByteStringgetMessageBytes()string message = 5;Diagnostics.RangegetRange().Range range = 1;Diagnostics.RangeOrBuildergetRangeOrBuilder().Range range = 1;Diagnostics.DiagnosticRelatedInformationgetRelatedInformation(int index)repeated .DiagnosticRelatedInformation related_information = 6;intgetRelatedInformationCount()repeated .DiagnosticRelatedInformation related_information = 6;java.util.List<Diagnostics.DiagnosticRelatedInformation>getRelatedInformationList()repeated .DiagnosticRelatedInformation related_information = 6;Diagnostics.DiagnosticRelatedInformationOrBuildergetRelatedInformationOrBuilder(int index)repeated .DiagnosticRelatedInformation related_information = 6;java.util.List<? extends Diagnostics.DiagnosticRelatedInformationOrBuilder>getRelatedInformationOrBuilderList()repeated .DiagnosticRelatedInformation related_information = 6;Diagnostics.SeveritygetSeverity().Severity severity = 2;intgetSeverityValue().Severity severity = 2;booleanhasRange().Range range = 1;-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRange
boolean hasRange()
.Range range = 1;- Returns:
- Whether the range field is set.
-
getRange
Diagnostics.Range getRange()
.Range range = 1;- Returns:
- The range.
-
getRangeOrBuilder
Diagnostics.RangeOrBuilder getRangeOrBuilder()
.Range range = 1;
-
getSeverityValue
int getSeverityValue()
.Severity severity = 2;- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
Diagnostics.Severity getSeverity()
.Severity severity = 2;- Returns:
- The severity.
-
getCode
long getCode()
int64 code = 3;- Returns:
- The code.
-
getMessage
java.lang.String getMessage()
string message = 5;- Returns:
- The message.
-
getMessageBytes
ByteString getMessageBytes()
string message = 5;- Returns:
- The bytes for message.
-
getRelatedInformationList
java.util.List<Diagnostics.DiagnosticRelatedInformation> getRelatedInformationList()
repeated .DiagnosticRelatedInformation related_information = 6;
-
getRelatedInformation
Diagnostics.DiagnosticRelatedInformation getRelatedInformation(int index)
repeated .DiagnosticRelatedInformation related_information = 6;
-
getRelatedInformationCount
int getRelatedInformationCount()
repeated .DiagnosticRelatedInformation related_information = 6;
-
getRelatedInformationOrBuilderList
java.util.List<? extends Diagnostics.DiagnosticRelatedInformationOrBuilder> getRelatedInformationOrBuilderList()
repeated .DiagnosticRelatedInformation related_information = 6;
-
getRelatedInformationOrBuilder
Diagnostics.DiagnosticRelatedInformationOrBuilder getRelatedInformationOrBuilder(int index)
repeated .DiagnosticRelatedInformation related_information = 6;
-
-