public final class StructuredMessage
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
StructuredMessage() |
Modifier and Type | Method and Description |
---|---|
StructuredMessage |
clone() |
java.lang.String |
getMessageKey()
Identifier for this message type.
|
java.lang.String |
getMessageText()
Human-readable version of message.
|
java.util.List<Parameter> |
getParameters()
The structured data associated with this message.
|
StructuredMessage |
set(java.lang.String fieldName,
java.lang.Object value) |
StructuredMessage |
setMessageKey(java.lang.String messageKey)
Identifier for this message type.
|
StructuredMessage |
setMessageText(java.lang.String messageText)
Human-readable version of message.
|
StructuredMessage |
setParameters(java.util.List<Parameter> parameters)
The structured data associated with this message.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getMessageKey()
null
for nonepublic StructuredMessage setMessageKey(java.lang.String messageKey)
messageKey
- messageKey or null
for nonepublic java.lang.String getMessageText()
null
for nonepublic StructuredMessage setMessageText(java.lang.String messageText)
messageText
- messageText or null
for nonepublic java.util.List<Parameter> getParameters()
null
for nonepublic StructuredMessage setParameters(java.util.List<Parameter> parameters)
parameters
- parameters or null
for nonepublic StructuredMessage set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StructuredMessage clone()
clone
in class com.google.api.client.json.GenericJson