public final class WriteInstruction
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 |
---|
WriteInstruction() |
Modifier and Type | Method and Description |
---|---|
WriteInstruction |
clone() |
InstructionInput |
getInput()
The input.
|
Sink |
getSink()
The sink to write to.
|
WriteInstruction |
set(java.lang.String fieldName,
java.lang.Object value) |
WriteInstruction |
setInput(InstructionInput input)
The input.
|
WriteInstruction |
setSink(Sink sink)
The sink to write to.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public InstructionInput getInput()
null
for nonepublic WriteInstruction setInput(InstructionInput input)
input
- input or null
for nonepublic Sink getSink()
null
for nonepublic WriteInstruction setSink(Sink sink)
sink
- sink or null
for nonepublic WriteInstruction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WriteInstruction clone()
clone
in class com.google.api.client.json.GenericJson