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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TaskRunnerSettings() |
Modifier and Type | Method and Description |
---|---|
TaskRunnerSettings |
clone() |
java.lang.Boolean |
getAlsologtostderr()
Whether to also send taskrunner log info to stderr.
|
java.lang.String |
getBaseTaskDir()
The 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()
The file to store preprocessing commands in.
|
java.lang.Boolean |
getContinueOnException()
Whether to continue taskrunner if an exception is hit.
|
java.lang.String |
getDataflowApiVersion()
The API version of endpoint, e.g.
|
java.lang.String |
getHarnessCommand()
The command to launch the worker harness.
|
java.lang.String |
getLanguageHint()
The suggested backend language.
|
java.lang.String |
getLogDir()
The directory on the VM to store logs.
|
java.lang.Boolean |
getLogToSerialconsole()
Whether to send taskrunner log info to Google Compute Engine VM serial console.
|
java.lang.String |
getLogUploadLocation()
Indicates where to put logs.
|
java.util.List<java.lang.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.
|
java.lang.String |
getStreamingWorkerMainClass()
The 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()
The ID string of the VM.
|
java.lang.String |
getWorkflowFileName()
The file to store the workflow in.
|
TaskRunnerSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
TaskRunnerSettings |
setAlsologtostderr(java.lang.Boolean alsologtostderr)
Whether to also send taskrunner log info to stderr.
|
TaskRunnerSettings |
setBaseTaskDir(java.lang.String baseTaskDir)
The 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)
The file to store preprocessing commands in.
|
TaskRunnerSettings |
setContinueOnException(java.lang.Boolean continueOnException)
Whether to continue taskrunner if an exception is hit.
|
TaskRunnerSettings |
setDataflowApiVersion(java.lang.String dataflowApiVersion)
The API version of endpoint, e.g.
|
TaskRunnerSettings |
setHarnessCommand(java.lang.String harnessCommand)
The command to launch the worker harness.
|
TaskRunnerSettings |
setLanguageHint(java.lang.String languageHint)
The suggested backend language.
|
TaskRunnerSettings |
setLogDir(java.lang.String logDir)
The directory on the VM to store logs.
|
TaskRunnerSettings |
setLogToSerialconsole(java.lang.Boolean logToSerialconsole)
Whether to send taskrunner log info 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)
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(java.lang.String streamingWorkerMainClass)
The 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)
The ID string of the VM.
|
TaskRunnerSettings |
setWorkflowFileName(java.lang.String workflowFileName)
The file to store the workflow in.
|
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