Class: Google::Cloud::Debugger::V2::StatusMessage
- Inherits:
-
Object
- Object
- Google::Cloud::Debugger::V2::StatusMessage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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::Cloud::Debugger::V2::FormatMessage
Status message text.
-
#is_error ⇒ ::Boolean
Distinguishes errors from informational messages.
-
#refers_to ⇒ ::Google::Cloud::Debugger::V2::StatusMessage::Reference
Reference to which the message applies.
Instance Attribute Details
#description ⇒ ::Google::Cloud::Debugger::V2::FormatMessage
Returns Status message text.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/devtools/clouddebugger/v2/data.rb', line 58 class StatusMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 ⇒ ::Boolean
Returns Distinguishes errors from informational messages.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/devtools/clouddebugger/v2/data.rb', line 58 class StatusMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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::Cloud::Debugger::V2::StatusMessage::Reference
Returns Reference to which the message applies.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proto_docs/google/devtools/clouddebugger/v2/data.rb', line 58 class StatusMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |