Stackdriver Debugger V2 Client - Class StatusMessage (1.6.4)

Reference documentation and code samples for the Stackdriver Debugger V2 Client class StatusMessage.

Represents a contextual status message.

The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message Location not found .

Generated from protobuf message google.devtools.clouddebugger.v2.StatusMessage

Namespace

Google \ Cloud \ Debugger \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ is_error
bool

Distinguishes errors from informational messages.

↳ refers_to
int

Reference to which the message applies.

↳ description

getIsError

Distinguishes errors from informational messages.

Returns
Type
Description
bool

setIsError

Distinguishes errors from informational messages.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getRefersTo

Reference to which the message applies.

Returns
Type
Description
int

setRefersTo

Reference to which the message applies.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDescription

Status message text.

Returns
Type
Description

hasDescription

clearDescription

setDescription

Status message text.

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