public final class WorkerMessageCode
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 Google Dataflow API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
WorkerMessageCode() |
Modifier and Type | Method and Description |
---|---|
WorkerMessageCode |
clone() |
java.lang.String |
getCode()
The code is a string intended for consumption by a machine that identifies the type of message
being sent.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Parameters contains specific information about the code.
|
WorkerMessageCode |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkerMessageCode |
setCode(java.lang.String code)
The code is a string intended for consumption by a machine that identifies the type of message
being sent.
|
WorkerMessageCode |
setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Parameters contains specific information about the code.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCode()
null
for nonepublic WorkerMessageCode setCode(java.lang.String code)
code
- code or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getParameters()
null
for nonepublic WorkerMessageCode setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
parameters
- parameters or null
for nonepublic WorkerMessageCode set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WorkerMessageCode clone()
clone
in class com.google.api.client.json.GenericJson