public final class WorkerSettings
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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
WorkerSettings() |
Modifier and Type | Method and Description |
---|---|
WorkerSettings |
clone() |
java.lang.String |
getBaseUrl()
The base URL for accessing Google Cloud APIs.
|
java.lang.Boolean |
getReportingEnabled()
Send work progress updates to service.
|
java.lang.String |
getServicePath()
The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
|
java.lang.String |
getShuffleServicePath()
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
|
java.lang.String |
getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.
|
java.lang.String |
getWorkerId()
ID of the worker running this pipeline.
|
WorkerSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
WorkerSettings |
setBaseUrl(java.lang.String baseUrl)
The base URL for accessing Google Cloud APIs.
|
WorkerSettings |
setReportingEnabled(java.lang.Boolean reportingEnabled)
Send work progress updates to service.
|
WorkerSettings |
setServicePath(java.lang.String servicePath)
The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
|
WorkerSettings |
setShuffleServicePath(java.lang.String shuffleServicePath)
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
|
WorkerSettings |
setTempStoragePrefix(java.lang.String tempStoragePrefix)
The prefix of the resources the system should use for temporary storage.
|
WorkerSettings |
setWorkerId(java.lang.String workerId)
ID of the worker running this pipeline.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getBaseUrl()
null
for nonepublic WorkerSettings setBaseUrl(java.lang.String baseUrl)
baseUrl
- baseUrl or null
for nonepublic java.lang.Boolean getReportingEnabled()
null
for nonepublic WorkerSettings setReportingEnabled(java.lang.Boolean reportingEnabled)
reportingEnabled
- reportingEnabled or null
for nonepublic java.lang.String getServicePath()
null
for nonepublic WorkerSettings setServicePath(java.lang.String servicePath)
servicePath
- servicePath or null
for nonepublic java.lang.String getShuffleServicePath()
null
for nonepublic WorkerSettings setShuffleServicePath(java.lang.String shuffleServicePath)
shuffleServicePath
- shuffleServicePath or null
for nonepublic java.lang.String getTempStoragePrefix()
null
for nonepublic WorkerSettings setTempStoragePrefix(java.lang.String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic java.lang.String getWorkerId()
null
for nonepublic WorkerSettings setWorkerId(java.lang.String workerId)
workerId
- workerId or null
for nonepublic WorkerSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public WorkerSettings clone()
clone
in class com.google.api.client.json.GenericJson