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 \ V1Methods
__construct
Constructor.
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.
string
setMessage
Output only. The diagnostic message.
var
string
$this
getPosition
Output only. The approximate position in the rule text associated with the compilation diagnostic.
Compilation Position may be empty.
hasPosition
clearPosition
setPosition
Output only. The approximate position in the rule text associated with the compilation diagnostic.
Compilation Position may be empty.
$this
getSeverity
Output only. The severity of a rule's compilation diagnostic.
int
setSeverity
Output only. The severity of a rule's compilation diagnostic.
var
int
$this
getUri
Output only. Link to documentation that describes a diagnostic in more detail.
string
setUri
Output only. Link to documentation that describes a diagnostic in more detail.
var
string
$this