public final class JobMessage extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobMessage() |
Modifier and Type | Method and Description |
---|---|
JobMessage |
clone() |
String |
getId()
Deprecated.
|
String |
getMessageImportance()
Importance level of the message.
|
String |
getMessageText()
The text of the message.
|
String |
getTime()
The timestamp of the message.
|
JobMessage |
set(String fieldName,
Object value) |
JobMessage |
setId(String id)
Deprecated.
|
JobMessage |
setMessageImportance(String messageImportance)
Importance level of the message.
|
JobMessage |
setMessageText(String messageText)
The text of the message.
|
JobMessage |
setTime(String time)
The timestamp of the message.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getId()
null
for nonepublic JobMessage setId(String id)
id
- id or null
for nonepublic String getMessageImportance()
null
for nonepublic JobMessage setMessageImportance(String messageImportance)
messageImportance
- messageImportance or null
for nonepublic String getMessageText()
null
for nonepublic JobMessage setMessageText(String messageText)
messageText
- messageText or null
for nonepublic String getTime()
null
for nonepublic JobMessage setTime(String time)
time
- time or null
for nonepublic JobMessage set(String fieldName, Object value)
set
in class GenericJson
public JobMessage clone()
clone
in class GenericJson