dataflow
v1b3
|
#include <structured_message.h>
Public Member Functions | |
StructuredMessage (const Json::Value &storage) | |
StructuredMessage (Json::Value *storage) | |
virtual | ~StructuredMessage () |
const StringPiece | GetTypeName () const |
bool | has_message_key () const |
void | clear_message_key () |
const StringPiece | get_message_key () const |
void | set_message_key (const StringPiece &value) |
bool | has_message_text () const |
void | clear_message_text () |
const StringPiece | get_message_text () const |
void | set_message_text (const StringPiece &value) |
bool | has_parameters () const |
void | clear_parameters () |
const client::JsonCppArray< Parameter > | get_parameters () const |
client::JsonCppArray< Parameter > | mutable_parameters () |
Static Public Member Functions | |
static StructuredMessage * | New () |
A rich message format, including a human readable string, a key for identifying the message, and structured data associated with the message for programmatic consumption.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'messageKey
' attribute.
|
inline |
Clears the 'messageText
' attribute.
|
inline |
Clears the 'parameters
' attribute.
|
inline |
Get the value of the 'messageKey
' attribute.
|
inline |
Get the value of the 'messageText
' attribute.
const client::JsonCppArray<Parameter > google_dataflow_api::StructuredMessage::get_parameters | ( | ) | const |
Get a reference to the value of the 'parameters
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'messageKey
' attribute was set.
messageKey
' attribute was set.
|
inline |
Determine if the 'messageText
' attribute was set.
messageText
' attribute was set.
|
inline |
Determine if the 'parameters
' attribute was set.
parameters
' attribute was set. client::JsonCppArray<Parameter > google_dataflow_api::StructuredMessage::mutable_parameters | ( | ) |
Gets a reference to a mutable value of the 'parameters
' property.
The structured data associated with this message.
|
static |
Creates a new default instance.
|
inline |
Change the 'messageKey
' attribute.
Identifier for this message type. Used by external systems to internationalize or personalize message.
[in] | value | The new value. |
|
inline |
Change the 'messageText
' attribute.
Human-readable version of message.
[in] | value | The new value. |