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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
WorkerSettings() |
| Modifier and Type | Method and Description |
|---|---|
WorkerSettings |
clone() |
String |
getBaseUrl()
The base URL for accessing Google Cloud APIs.
|
Boolean |
getReportingEnabled()
Whether to send work progress updates to the service.
|
String |
getServicePath()
The Cloud Dataflow service path relative to the root URL, for example,
"dataflow/v1b3/projects".
|
String |
getShuffleServicePath()
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
|
String |
getTempStoragePrefix()
The prefix of the resources the system should use for temporary storage.
|
String |
getWorkerId()
The ID of the worker running this pipeline.
|
WorkerSettings |
set(String fieldName,
Object value) |
WorkerSettings |
setBaseUrl(String baseUrl)
The base URL for accessing Google Cloud APIs.
|
WorkerSettings |
setReportingEnabled(Boolean reportingEnabled)
Whether to send work progress updates to the service.
|
WorkerSettings |
setServicePath(String servicePath)
The Cloud Dataflow service path relative to the root URL, for example,
"dataflow/v1b3/projects".
|
WorkerSettings |
setShuffleServicePath(String shuffleServicePath)
The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
|
WorkerSettings |
setTempStoragePrefix(String tempStoragePrefix)
The prefix of the resources the system should use for temporary storage.
|
WorkerSettings |
setWorkerId(String workerId)
The ID of the worker running this pipeline.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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 GenericJsonpublic WorkerSettings clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.