[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface CompilationDiagnosticOrBuilder (0.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.0 (latest)](/java/docs/reference/google-cloud-chronicle/latest/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-chronicle/0.8.0/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-chronicle/0.6.0/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-chronicle/0.5.0/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-chronicle/0.2.0/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-chronicle/0.1.0/com.google.cloud.chronicle.v1.CompilationDiagnosticOrBuilder) \n\n public interface CompilationDiagnosticOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getMessage()\n\n public abstract String getMessage()\n\nOutput only. The diagnostic message.\n\n`string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getMessageBytes()\n\n public abstract ByteString getMessageBytes()\n\nOutput only. The diagnostic message.\n\n`string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPosition()\n\n public abstract CompilationPosition getPosition()\n\nOutput only. The approximate position in the rule text associated with the\ncompilation diagnostic.\nCompilation Position may be empty.\n\n`\n.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getPositionOrBuilder()\n\n public abstract CompilationPositionOrBuilder getPositionOrBuilder()\n\nOutput only. The approximate position in the rule text associated with the\ncompilation diagnostic.\nCompilation Position may be empty.\n\n`\n.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSeverity()\n\n public abstract CompilationDiagnostic.Severity getSeverity()\n\nOutput only. The severity of a rule's compilation diagnostic.\n\n`\n.google.cloud.chronicle.v1.CompilationDiagnostic.Severity severity = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSeverityValue()\n\n public abstract int getSeverityValue()\n\nOutput only. The severity of a rule's compilation diagnostic.\n\n`\n.google.cloud.chronicle.v1.CompilationDiagnostic.Severity severity = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getUri()\n\n public abstract String getUri()\n\nOutput only. Link to documentation that describes a diagnostic in more\ndetail.\n\n`string uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getUriBytes()\n\n public abstract ByteString getUriBytes()\n\nOutput only. Link to documentation that describes a diagnostic in more\ndetail.\n\n`string uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### hasPosition()\n\n public abstract boolean hasPosition()\n\nOutput only. The approximate position in the rule text associated with the\ncompilation diagnostic.\nCompilation Position may be empty.\n\n`\n.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]