public sealed class FormatMessage : IMessage<FormatMessage>, IEquatable<FormatMessage>, IDeepCloneable<FormatMessage>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Debugger v2 API class FormatMessage.
Represents a message with parameters.
Implements
IMessageFormatMessage, IEquatableFormatMessage, IDeepCloneableFormatMessage, IBufferMessage, IMessageNamespace
Google.Cloud.Debugger.V2Assembly
Google.Cloud.Debugger.V2.dll
Constructors
FormatMessage()
public FormatMessage()FormatMessage(FormatMessage)
public FormatMessage(FormatMessage other)| Parameter | |
|---|---|
| Name | Description |
other |
FormatMessage |
Properties
Format
public string Format { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parameters
public RepeatedField<string> Parameters { get; }Optional parameters to be embedded into the message.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|