public final class WorkerSettings 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 Google 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 |
---|
WorkerSettings() |
Modifier and Type | Method and Description |
---|---|
WorkerSettings |
clone() |
String |
getBaseUrl() |
Boolean |
getReportingEnabled() |
String |
getServicePath() |
String |
getShuffleServicePath() |
String |
getTempStoragePrefix() |
String |
getWorkerId() |
WorkerSettings |
set(String fieldName,
Object value) |
WorkerSettings |
setBaseUrl(String baseUrl) |
WorkerSettings |
setReportingEnabled(Boolean reportingEnabled) |
WorkerSettings |
setServicePath(String servicePath) |
WorkerSettings |
setShuffleServicePath(String shuffleServicePath) |
WorkerSettings |
setTempStoragePrefix(String tempStoragePrefix) |
WorkerSettings |
setWorkerId(String workerId) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getBaseUrl()
null
for nonepublic WorkerSettings setBaseUrl(String baseUrl)
baseUrl
- baseUrl or null
for nonepublic Boolean getReportingEnabled()
null
for nonepublic WorkerSettings setReportingEnabled(Boolean reportingEnabled)
reportingEnabled
- reportingEnabled or null
for nonepublic String getServicePath()
null
for nonepublic WorkerSettings setServicePath(String servicePath)
servicePath
- servicePath or null
for nonepublic String getShuffleServicePath()
null
for nonepublic WorkerSettings setShuffleServicePath(String shuffleServicePath)
shuffleServicePath
- shuffleServicePath or null
for nonepublic String getTempStoragePrefix()
null
for nonepublic WorkerSettings setTempStoragePrefix(String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic String getWorkerId()
null
for nonepublic WorkerSettings setWorkerId(String workerId)
workerId
- workerId or null
for nonepublic WorkerSettings set(String fieldName, Object value)
set
in class GenericJson
public WorkerSettings clone()
clone
in class GenericJson