public sealed class CompilationDiagnostic : IMessage<CompilationDiagnostic>, IEquatable<CompilationDiagnostic>, IDeepCloneable<CompilationDiagnostic>, IBufferMessage, IMessageReference documentation and code samples for the Chronicle v1 API class CompilationDiagnostic.
CompilationDiagnostic represents a compilation diagnostic generated during a rule's compilation, such as a compilation error or a compilation warning.
Implements
IMessageCompilationDiagnostic, IEquatableCompilationDiagnostic, IDeepCloneableCompilationDiagnostic, IBufferMessage, IMessageNamespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Constructors
CompilationDiagnostic()
public CompilationDiagnostic()CompilationDiagnostic(CompilationDiagnostic)
public CompilationDiagnostic(CompilationDiagnostic other)| Parameter | |
|---|---|
| Name | Description |
other |
CompilationDiagnostic |
Properties
Message
public string Message { get; set; }Output only. The diagnostic message.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Position
public CompilationPosition Position { get; set; }Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.
| Property Value | |
|---|---|
| Type | Description |
CompilationPosition |
|
Severity
public CompilationDiagnostic.Types.Severity Severity { get; set; }Output only. The severity of a rule's compilation diagnostic.
| Property Value | |
|---|---|
| Type | Description |
CompilationDiagnosticTypesSeverity |
|
Uri
public string Uri { get; set; }Output only. Link to documentation that describes a diagnostic in more detail.
| Property Value | |
|---|---|
| Type | Description |
string |
|