1.2.0 (latest) 1.1.0 1.0.0

    public sealed class CompilationDiagnostic : IMessage<CompilationDiagnostic>, IEquatable<CompilationDiagnostic>, IDeepCloneable<CompilationDiagnostic>, IBufferMessage, IMessage

Reference 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CompilationDiagnostic

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CompilationDiagnostic](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CompilationDiagnostic.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CompilationDiagnostic](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CompilationDiagnostic.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CompilationDiagnostic](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CompilationDiagnostic.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Chronicle.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.md.txt)

## Assembly

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` |   |