Class: Google::Devtools::Clouddebugger::V2::StatusMessage

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

Instance Attribute Details

#descriptionGoogle::Devtools::Clouddebugger::V2::FormatMessage

Returns Status message text.

Returns:



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_errortrue, false

Returns Distinguishes errors from informational messages.

Returns:

  • (true, false)

    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_toGoogle::Devtools::Clouddebugger::V2::StatusMessage::Reference

Returns Reference to which the message applies.

Returns:



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