Class: Google::Cloud::Debugger::V2::StatusMessage

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#description::Google::Cloud::Debugger::V2::FormatMessage

Returns Status message text.

Returns:



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.

Returns:

  • (::Boolean)

    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.

Returns:



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