public final class TaskRunnerSettings
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 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TaskRunnerSettings() |
Modifier and Type | Method and Description |
---|---|
TaskRunnerSettings |
clone() |
Boolean |
getAlsologtostderr()
Whether to also send taskrunner log info to stderr.
|
String |
getBaseTaskDir()
The location on the worker for task-specific subdirectories.
|
String |
getBaseUrl()
The base URL for the taskrunner to use when accessing Google Cloud APIs.
|
String |
getCommandlinesFileName()
The file to store preprocessing commands in.
|
Boolean |
getContinueOnException()
Whether to continue taskrunner if an exception is hit.
|
String |
getDataflowApiVersion()
The API version of endpoint, e.g.
|
String |
getHarnessCommand()
The command to launch the worker harness.
|
String |
getLanguageHint()
The suggested backend language.
|
String |
getLogDir()
The directory on the VM to store logs.
|
Boolean |
getLogToSerialconsole()
Whether to send taskrunner log info to Google Compute Engine VM serial console.
|
String |
getLogUploadLocation()
Indicates where to put logs.
|
List<String> |
getOauthScopes()
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
|
WorkerSettings |
getParallelWorkerSettings()
The settings to pass to the parallel worker harness.
|
String |
getStreamingWorkerMainClass()
The streaming worker main class name.
|
String |
getTaskGroup()
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
String |
getTaskUser()
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
String |
getTempStoragePrefix()
The prefix of the resources the taskrunner should use for temporary storage.
|
String |
getVmId()
The ID string of the VM.
|
String |
getWorkflowFileName()
The file to store the workflow in.
|
TaskRunnerSettings |
set(String fieldName,
Object value) |
TaskRunnerSettings |
setAlsologtostderr(Boolean alsologtostderr)
Whether to also send taskrunner log info to stderr.
|
TaskRunnerSettings |
setBaseTaskDir(String baseTaskDir)
The location on the worker for task-specific subdirectories.
|
TaskRunnerSettings |
setBaseUrl(String baseUrl)
The base URL for the taskrunner to use when accessing Google Cloud APIs.
|
TaskRunnerSettings |
setCommandlinesFileName(String commandlinesFileName)
The file to store preprocessing commands in.
|
TaskRunnerSettings |
setContinueOnException(Boolean continueOnException)
Whether to continue taskrunner if an exception is hit.
|
TaskRunnerSettings |
setDataflowApiVersion(String dataflowApiVersion)
The API version of endpoint, e.g.
|
TaskRunnerSettings |
setHarnessCommand(String harnessCommand)
The command to launch the worker harness.
|
TaskRunnerSettings |
setLanguageHint(String languageHint)
The suggested backend language.
|
TaskRunnerSettings |
setLogDir(String logDir)
The directory on the VM to store logs.
|
TaskRunnerSettings |
setLogToSerialconsole(Boolean logToSerialconsole)
Whether to send taskrunner log info to Google Compute Engine VM serial console.
|
TaskRunnerSettings |
setLogUploadLocation(String logUploadLocation)
Indicates where to put logs.
|
TaskRunnerSettings |
setOauthScopes(List<String> oauthScopes)
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
|
TaskRunnerSettings |
setParallelWorkerSettings(WorkerSettings parallelWorkerSettings)
The settings to pass to the parallel worker harness.
|
TaskRunnerSettings |
setStreamingWorkerMainClass(String streamingWorkerMainClass)
The streaming worker main class name.
|
TaskRunnerSettings |
setTaskGroup(String taskGroup)
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
TaskRunnerSettings |
setTaskUser(String taskUser)
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
TaskRunnerSettings |
setTempStoragePrefix(String tempStoragePrefix)
The prefix of the resources the taskrunner should use for temporary storage.
|
TaskRunnerSettings |
setVmId(String vmId)
The ID string of the VM.
|
TaskRunnerSettings |
setWorkflowFileName(String workflowFileName)
The file to store the workflow in.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getAlsologtostderr()
null
for nonepublic TaskRunnerSettings setAlsologtostderr(Boolean alsologtostderr)
alsologtostderr
- alsologtostderr or null
for nonepublic String getBaseTaskDir()
null
for nonepublic TaskRunnerSettings setBaseTaskDir(String baseTaskDir)
baseTaskDir
- baseTaskDir or null
for nonepublic String getBaseUrl()
null
for nonepublic TaskRunnerSettings setBaseUrl(String baseUrl)
baseUrl
- baseUrl or null
for nonepublic String getCommandlinesFileName()
null
for nonepublic TaskRunnerSettings setCommandlinesFileName(String commandlinesFileName)
commandlinesFileName
- commandlinesFileName or null
for nonepublic Boolean getContinueOnException()
null
for nonepublic TaskRunnerSettings setContinueOnException(Boolean continueOnException)
continueOnException
- continueOnException or null
for nonepublic String getDataflowApiVersion()
null
for nonepublic TaskRunnerSettings setDataflowApiVersion(String dataflowApiVersion)
dataflowApiVersion
- dataflowApiVersion or null
for nonepublic String getHarnessCommand()
null
for nonepublic TaskRunnerSettings setHarnessCommand(String harnessCommand)
harnessCommand
- harnessCommand or null
for nonepublic String getLanguageHint()
null
for nonepublic TaskRunnerSettings setLanguageHint(String languageHint)
languageHint
- languageHint or null
for nonepublic String getLogDir()
null
for nonepublic TaskRunnerSettings setLogDir(String logDir)
logDir
- logDir or null
for nonepublic Boolean getLogToSerialconsole()
null
for nonepublic TaskRunnerSettings setLogToSerialconsole(Boolean logToSerialconsole)
logToSerialconsole
- logToSerialconsole or null
for nonepublic String getLogUploadLocation()
null
for nonepublic TaskRunnerSettings setLogUploadLocation(String logUploadLocation)
logUploadLocation
- logUploadLocation or null
for nonepublic List<String> getOauthScopes()
null
for nonepublic TaskRunnerSettings setOauthScopes(List<String> oauthScopes)
oauthScopes
- oauthScopes or null
for nonepublic WorkerSettings getParallelWorkerSettings()
null
for nonepublic TaskRunnerSettings setParallelWorkerSettings(WorkerSettings parallelWorkerSettings)
parallelWorkerSettings
- parallelWorkerSettings or null
for nonepublic String getStreamingWorkerMainClass()
null
for nonepublic TaskRunnerSettings setStreamingWorkerMainClass(String streamingWorkerMainClass)
streamingWorkerMainClass
- streamingWorkerMainClass or null
for nonepublic String getTaskGroup()
null
for nonepublic TaskRunnerSettings setTaskGroup(String taskGroup)
taskGroup
- taskGroup or null
for nonepublic String getTaskUser()
null
for nonepublic TaskRunnerSettings setTaskUser(String taskUser)
taskUser
- taskUser or null
for nonepublic String getTempStoragePrefix()
null
for nonepublic TaskRunnerSettings setTempStoragePrefix(String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic String getVmId()
null
for nonepublic TaskRunnerSettings setVmId(String vmId)
vmId
- vmId or null
for nonepublic String getWorkflowFileName()
null
for nonepublic TaskRunnerSettings setWorkflowFileName(String workflowFileName)
workflowFileName
- workflowFileName or null
for nonepublic TaskRunnerSettings set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TaskRunnerSettings clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.