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
[[["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,["# Stackdriver Debugger V2 Client - Class StatusMessage (1.9.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.5 (latest)](/php/docs/reference/cloud-debugger/latest/V2.StatusMessage)\n- [1.9.4](/php/docs/reference/cloud-debugger/1.9.4/V2.StatusMessage)\n- [1.8.8](/php/docs/reference/cloud-debugger/1.8.8/V2.StatusMessage)\n- [1.7.0](/php/docs/reference/cloud-debugger/1.7.0/V2.StatusMessage)\n- [1.6.4](/php/docs/reference/cloud-debugger/1.6.4/V2.StatusMessage)\n- [1.5.1](/php/docs/reference/cloud-debugger/1.5.1/V2.StatusMessage)\n- [1.4.16](/php/docs/reference/cloud-debugger/1.4.16/V2.StatusMessage) \nReference documentation and code samples for the Stackdriver Debugger V2 Client class StatusMessage.\n\nRepresents a contextual status message.\n\nThe message can indicate an error or informational status, and refer to\nspecific parts of the containing object.\nFor example, the `Breakpoint.status` field can indicate an error referring\nto the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.\n\nGenerated from protobuf message `google.devtools.clouddebugger.v2.StatusMessage`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Debugger \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIsError\n\nDistinguishes errors from informational messages.\n\n### setIsError\n\nDistinguishes errors from informational messages.\n\n### getRefersTo\n\nReference to which the message applies.\n\n### setRefersTo\n\nReference to which the message applies.\n\n### getDescription\n\nStatus message text.\n\n### hasDescription\n\n### clearDescription\n\n### setDescription\n\nStatus message text."]]