Google Cloud Chronicle V1 Client - Class CompilationDiagnostic (0.1.2)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class CompilationDiagnostic.

CompilationDiagnostic represents a compilation diagnostic generated during a rule's compilation, such as a compilation error or a compilation warning.

Generated from protobuf message google.cloud.chronicle.v1.CompilationDiagnostic

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ message
string

Output only. The diagnostic message.

↳ position
CompilationPosition

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

↳ severity
int

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

↳ uri
string

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

getMessage

Output only. The diagnostic message.

Returns
Type
Description
string

setMessage

Output only. The diagnostic message.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getPosition

Output only. The approximate position in the rule text associated with the compilation diagnostic.

Compilation Position may be empty.

Returns
Type
Description

hasPosition

clearPosition

setPosition

Output only. The approximate position in the rule text associated with the compilation diagnostic.

Compilation Position may be empty.

Parameter
Name
Description
Returns
Type
Description
$this

getSeverity

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

Returns
Type
Description
int

setSeverity

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

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getUri

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

Returns
Type
Description
string

setUri

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: