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 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 |
---|
TaskRunnerSettings() |
Modifier and Type | Method and Description |
---|---|
TaskRunnerSettings |
clone() |
java.lang.Boolean |
getAlsologtostderr()
Also send taskrunner log info to stderr?
|
java.lang.String |
getBaseTaskDir()
Location on the worker for task-specific subdirectories.
|
java.lang.String |
getBaseUrl()
The base URL for the taskrunner to use when accessing Google Cloud APIs.
|
java.lang.String |
getCommandlinesFileName()
Store preprocessing commands in this file.
|
java.lang.Boolean |
getContinueOnException()
Do we continue taskrunner if an exception is hit?
|
java.lang.String |
getDataflowApiVersion()
API version of endpoint, e.g.
|
java.lang.String |
getHarnessCommand()
Command to launch the worker harness.
|
java.lang.String |
getLanguageHint()
Suggested backend language.
|
java.lang.String |
getLogDir()
Directory on the VM to store logs.
|
java.lang.Boolean |
getLogToSerialconsole()
Send taskrunner log into to Google Compute Engine VM serial console?
|
java.lang.String |
getLogUploadLocation()
Indicates where to put logs.
|
java.util.List<java.lang.String> |
getOauthScopes()
OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
|
WorkerSettings |
getParallelWorkerSettings()
Settings to pass to the parallel worker harness.
|
java.lang.String |
getStreamingWorkerMainClass()
Streaming worker main class name.
|
java.lang.String |
getTaskGroup()
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
java.lang.String |
getTaskUser()
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
java.lang.String |
getTempStoragePrefix()
The prefix of the resources the taskrunner should use for temporary storage.
|
java.lang.String |
getVmId()
ID string of VM.
|
java.lang.String |
getWorkflowFileName()
Store the workflow in this file.
|
TaskRunnerSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
TaskRunnerSettings |
setAlsologtostderr(java.lang.Boolean alsologtostderr)
Also send taskrunner log info to stderr?
|
TaskRunnerSettings |
setBaseTaskDir(java.lang.String baseTaskDir)
Location on the worker for task-specific subdirectories.
|
TaskRunnerSettings |
setBaseUrl(java.lang.String baseUrl)
The base URL for the taskrunner to use when accessing Google Cloud APIs.
|
TaskRunnerSettings |
setCommandlinesFileName(java.lang.String commandlinesFileName)
Store preprocessing commands in this file.
|
TaskRunnerSettings |
setContinueOnException(java.lang.Boolean continueOnException)
Do we continue taskrunner if an exception is hit?
|
TaskRunnerSettings |
setDataflowApiVersion(java.lang.String dataflowApiVersion)
API version of endpoint, e.g.
|
TaskRunnerSettings |
setHarnessCommand(java.lang.String harnessCommand)
Command to launch the worker harness.
|
TaskRunnerSettings |
setLanguageHint(java.lang.String languageHint)
Suggested backend language.
|
TaskRunnerSettings |
setLogDir(java.lang.String logDir)
Directory on the VM to store logs.
|
TaskRunnerSettings |
setLogToSerialconsole(java.lang.Boolean logToSerialconsole)
Send taskrunner log into to Google Compute Engine VM serial console?
|
TaskRunnerSettings |
setLogUploadLocation(java.lang.String logUploadLocation)
Indicates where to put logs.
|
TaskRunnerSettings |
setOauthScopes(java.util.List<java.lang.String> oauthScopes)
OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
|
TaskRunnerSettings |
setParallelWorkerSettings(WorkerSettings parallelWorkerSettings)
Settings to pass to the parallel worker harness.
|
TaskRunnerSettings |
setStreamingWorkerMainClass(java.lang.String streamingWorkerMainClass)
Streaming worker main class name.
|
TaskRunnerSettings |
setTaskGroup(java.lang.String taskGroup)
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
TaskRunnerSettings |
setTaskUser(java.lang.String taskUser)
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.
|
TaskRunnerSettings |
setTempStoragePrefix(java.lang.String tempStoragePrefix)
The prefix of the resources the taskrunner should use for temporary storage.
|
TaskRunnerSettings |
setVmId(java.lang.String vmId)
ID string of VM.
|
TaskRunnerSettings |
setWorkflowFileName(java.lang.String workflowFileName)
Store the workflow in this file.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getAlsologtostderr()
null
for nonepublic TaskRunnerSettings setAlsologtostderr(java.lang.Boolean alsologtostderr)
alsologtostderr
- alsologtostderr or null
for nonepublic java.lang.String getBaseTaskDir()
null
for nonepublic TaskRunnerSettings setBaseTaskDir(java.lang.String baseTaskDir)
baseTaskDir
- baseTaskDir or null
for nonepublic java.lang.String getBaseUrl()
null
for nonepublic TaskRunnerSettings setBaseUrl(java.lang.String baseUrl)
baseUrl
- baseUrl or null
for nonepublic java.lang.String getCommandlinesFileName()
null
for nonepublic TaskRunnerSettings setCommandlinesFileName(java.lang.String commandlinesFileName)
commandlinesFileName
- commandlinesFileName or null
for nonepublic java.lang.Boolean getContinueOnException()
null
for nonepublic TaskRunnerSettings setContinueOnException(java.lang.Boolean continueOnException)
continueOnException
- continueOnException or null
for nonepublic java.lang.String getDataflowApiVersion()
null
for nonepublic TaskRunnerSettings setDataflowApiVersion(java.lang.String dataflowApiVersion)
dataflowApiVersion
- dataflowApiVersion or null
for nonepublic java.lang.String getHarnessCommand()
null
for nonepublic TaskRunnerSettings setHarnessCommand(java.lang.String harnessCommand)
harnessCommand
- harnessCommand or null
for nonepublic java.lang.String getLanguageHint()
null
for nonepublic TaskRunnerSettings setLanguageHint(java.lang.String languageHint)
languageHint
- languageHint or null
for nonepublic java.lang.String getLogDir()
null
for nonepublic TaskRunnerSettings setLogDir(java.lang.String logDir)
logDir
- logDir or null
for nonepublic java.lang.Boolean getLogToSerialconsole()
null
for nonepublic TaskRunnerSettings setLogToSerialconsole(java.lang.Boolean logToSerialconsole)
logToSerialconsole
- logToSerialconsole or null
for nonepublic java.lang.String getLogUploadLocation()
null
for nonepublic TaskRunnerSettings setLogUploadLocation(java.lang.String logUploadLocation)
logUploadLocation
- logUploadLocation or null
for nonepublic java.util.List<java.lang.String> getOauthScopes()
null
for nonepublic TaskRunnerSettings setOauthScopes(java.util.List<java.lang.String> oauthScopes)
oauthScopes
- oauthScopes or null
for nonepublic WorkerSettings getParallelWorkerSettings()
null
for nonepublic TaskRunnerSettings setParallelWorkerSettings(WorkerSettings parallelWorkerSettings)
parallelWorkerSettings
- parallelWorkerSettings or null
for nonepublic java.lang.String getStreamingWorkerMainClass()
null
for nonepublic TaskRunnerSettings setStreamingWorkerMainClass(java.lang.String streamingWorkerMainClass)
streamingWorkerMainClass
- streamingWorkerMainClass or null
for nonepublic java.lang.String getTaskGroup()
null
for nonepublic TaskRunnerSettings setTaskGroup(java.lang.String taskGroup)
taskGroup
- taskGroup or null
for nonepublic java.lang.String getTaskUser()
null
for nonepublic TaskRunnerSettings setTaskUser(java.lang.String taskUser)
taskUser
- taskUser or null
for nonepublic java.lang.String getTempStoragePrefix()
null
for nonepublic TaskRunnerSettings setTempStoragePrefix(java.lang.String tempStoragePrefix)
tempStoragePrefix
- tempStoragePrefix or null
for nonepublic java.lang.String getVmId()
null
for nonepublic TaskRunnerSettings setVmId(java.lang.String vmId)
vmId
- vmId or null
for nonepublic java.lang.String getWorkflowFileName()
null
for nonepublic TaskRunnerSettings setWorkflowFileName(java.lang.String workflowFileName)
workflowFileName
- workflowFileName or null
for nonepublic TaskRunnerSettings set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TaskRunnerSettings clone()
clone
in class com.google.api.client.json.GenericJson