Class: Google::Cloud::Debugger::V2::FormatMessage
- Inherits:
-
Object
- Object
- Google::Cloud::Debugger::V2::FormatMessage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/clouddebugger/v2/data.rb
Overview
Represents a message with parameters.
Instance Attribute Summary collapse
-
#format ⇒ ::String
Format template for the message.
-
#parameters ⇒ ::Array<::String>
Optional parameters to be embedded into the message.
Instance Attribute Details
#format ⇒ ::String
Returns Format template for the message. The format
uses placeholders $0
,
$1
, etc. to reference parameters. $$
can be used to denote the $
character.
Examples:
-
Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important.
-
Please pay $$10 to use $0 instead of $1.
.
39 40 41 42 |
# File 'proto_docs/google/devtools/clouddebugger/v2/data.rb', line 39 class FormatMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parameters ⇒ ::Array<::String>
Returns Optional parameters to be embedded into the message.
39 40 41 42 |
# File 'proto_docs/google/devtools/clouddebugger/v2/data.rb', line 39 class FormatMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |