Class: Google::Devtools::Clouddebugger::V2::StatusMessage
- Inherits:
-
Object
- Object
- Google::Devtools::Clouddebugger::V2::StatusMessage
- Defined in:
- lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb
Overview
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+.
Defined Under Namespace
Modules: Reference
Instance Attribute Summary collapse
-
#description ⇒ Google::Devtools::Clouddebugger::V2::FormatMessage
Status message text.
-
#is_error ⇒ true, false
Distinguishes errors from informational messages.
-
#refers_to ⇒ Google::Devtools::Clouddebugger::V2::StatusMessage::Reference
Reference to which the message applies.
Instance Attribute Details
#description ⇒ Google::Devtools::Clouddebugger::V2::FormatMessage
Returns Status message text.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 50 class StatusMessage # Enumerates references to which the message applies. module Reference # Status doesn't refer to any particular input. UNSPECIFIED = 0 # Status applies to the breakpoint and is related to its location. BREAKPOINT_SOURCE_LOCATION = 3 # Status applies to the breakpoint and is related to its condition. BREAKPOINT_CONDITION = 4 # Status applies to the breakpoint and is related to its expressions. BREAKPOINT_EXPRESSION = 7 # Status applies to the breakpoint and is related to its age. BREAKPOINT_AGE = 8 # Status applies to the entire variable. VARIABLE_NAME = 5 # Status applies to variable value (variable name is valid). VARIABLE_VALUE = 6 end end |
#is_error ⇒ true, false
Returns Distinguishes errors from informational messages.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 50 class StatusMessage # Enumerates references to which the message applies. module Reference # Status doesn't refer to any particular input. UNSPECIFIED = 0 # Status applies to the breakpoint and is related to its location. BREAKPOINT_SOURCE_LOCATION = 3 # Status applies to the breakpoint and is related to its condition. BREAKPOINT_CONDITION = 4 # Status applies to the breakpoint and is related to its expressions. BREAKPOINT_EXPRESSION = 7 # Status applies to the breakpoint and is related to its age. BREAKPOINT_AGE = 8 # Status applies to the entire variable. VARIABLE_NAME = 5 # Status applies to variable value (variable name is valid). VARIABLE_VALUE = 6 end end |
#refers_to ⇒ Google::Devtools::Clouddebugger::V2::StatusMessage::Reference
Returns Reference to which the message applies.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb', line 50 class StatusMessage # Enumerates references to which the message applies. module Reference # Status doesn't refer to any particular input. UNSPECIFIED = 0 # Status applies to the breakpoint and is related to its location. BREAKPOINT_SOURCE_LOCATION = 3 # Status applies to the breakpoint and is related to its condition. BREAKPOINT_CONDITION = 4 # Status applies to the breakpoint and is related to its expressions. BREAKPOINT_EXPRESSION = 7 # Status applies to the breakpoint and is related to its age. BREAKPOINT_AGE = 8 # Status applies to the entire variable. VARIABLE_NAME = 5 # Status applies to variable value (variable name is valid). VARIABLE_VALUE = 6 end end |