Interface CompilationDiagnosticOrBuilder (0.2.0)

public interface CompilationDiagnosticOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract String getMessage()

Output only. The diagnostic message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

Output only. The diagnostic message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getPosition()

public abstract CompilationPosition getPosition()

Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.

.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompilationPosition

The position.

getPositionOrBuilder()

public abstract CompilationPositionOrBuilder getPositionOrBuilder()

Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.

.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompilationPositionOrBuilder

getSeverity()

public abstract CompilationDiagnostic.Severity getSeverity()

Output only. The severity of a rule's compilation diagnostic.

.google.cloud.chronicle.v1.CompilationDiagnostic.Severity severity = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompilationDiagnostic.Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

Output only. The severity of a rule's compilation diagnostic.

.google.cloud.chronicle.v1.CompilationDiagnostic.Severity severity = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for severity.

getUri()

public abstract String getUri()

Output only. Link to documentation that describes a diagnostic in more detail.

string uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Output only. Link to documentation that describes a diagnostic in more detail.

string uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uri.

hasPosition()

public abstract boolean hasPosition()

Output only. The approximate position in the rule text associated with the compilation diagnostic. Compilation Position may be empty.

.google.cloud.chronicle.v1.CompilationPosition position = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the position field is set.