dataflow
v1b3
|
#include <task_runner_settings.h>
Public Member Functions | |
TaskRunnerSettings (const Json::Value &storage) | |
TaskRunnerSettings (Json::Value *storage) | |
virtual | ~TaskRunnerSettings () |
const StringPiece | GetTypeName () const |
bool | has_alsologtostderr () const |
void | clear_alsologtostderr () |
bool | get_alsologtostderr () const |
void | set_alsologtostderr (bool value) |
bool | has_base_task_dir () const |
void | clear_base_task_dir () |
const StringPiece | get_base_task_dir () const |
void | set_base_task_dir (const StringPiece &value) |
bool | has_base_url () const |
void | clear_base_url () |
const StringPiece | get_base_url () const |
void | set_base_url (const StringPiece &value) |
bool | has_commandlines_file_name () const |
void | clear_commandlines_file_name () |
const StringPiece | get_commandlines_file_name () const |
void | set_commandlines_file_name (const StringPiece &value) |
bool | has_continue_on_exception () const |
void | clear_continue_on_exception () |
bool | get_continue_on_exception () const |
void | set_continue_on_exception (bool value) |
bool | has_dataflow_api_version () const |
void | clear_dataflow_api_version () |
const StringPiece | get_dataflow_api_version () const |
void | set_dataflow_api_version (const StringPiece &value) |
bool | has_harness_command () const |
void | clear_harness_command () |
const StringPiece | get_harness_command () const |
void | set_harness_command (const StringPiece &value) |
bool | has_language_hint () const |
void | clear_language_hint () |
const StringPiece | get_language_hint () const |
void | set_language_hint (const StringPiece &value) |
bool | has_log_dir () const |
void | clear_log_dir () |
const StringPiece | get_log_dir () const |
void | set_log_dir (const StringPiece &value) |
bool | has_log_to_serialconsole () const |
void | clear_log_to_serialconsole () |
bool | get_log_to_serialconsole () const |
void | set_log_to_serialconsole (bool value) |
bool | has_log_upload_location () const |
void | clear_log_upload_location () |
const StringPiece | get_log_upload_location () const |
void | set_log_upload_location (const StringPiece &value) |
bool | has_oauth_scopes () const |
void | clear_oauth_scopes () |
const client::JsonCppArray< string > | get_oauth_scopes () const |
client::JsonCppArray< string > | mutable_oauthScopes () |
bool | has_parallel_worker_settings () const |
void | clear_parallel_worker_settings () |
const WorkerSettings | get_parallel_worker_settings () const |
WorkerSettings | mutable_parallelWorkerSettings () |
bool | has_streaming_worker_main_class () const |
void | clear_streaming_worker_main_class () |
const StringPiece | get_streaming_worker_main_class () const |
void | set_streaming_worker_main_class (const StringPiece &value) |
bool | has_task_group () const |
void | clear_task_group () |
const StringPiece | get_task_group () const |
void | set_task_group (const StringPiece &value) |
bool | has_task_user () const |
void | clear_task_user () |
const StringPiece | get_task_user () const |
void | set_task_user (const StringPiece &value) |
bool | has_temp_storage_prefix () const |
void | clear_temp_storage_prefix () |
const StringPiece | get_temp_storage_prefix () const |
void | set_temp_storage_prefix (const StringPiece &value) |
bool | has_vm_id () const |
void | clear_vm_id () |
const StringPiece | get_vm_id () const |
void | set_vm_id (const StringPiece &value) |
bool | has_workflow_file_name () const |
void | clear_workflow_file_name () |
const StringPiece | get_workflow_file_name () const |
void | set_workflow_file_name (const StringPiece &value) |
Static Public Member Functions | |
static TaskRunnerSettings * | New () |
Taskrunner configuration settings.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'alsologtostderr
' attribute.
|
inline |
Clears the 'baseTaskDir
' attribute.
|
inline |
Clears the 'baseUrl
' attribute.
|
inline |
Clears the 'commandlinesFileName
' attribute.
|
inline |
Clears the 'continueOnException
' attribute.
|
inline |
Clears the 'dataflowApiVersion
' attribute.
|
inline |
Clears the 'harnessCommand
' attribute.
|
inline |
Clears the 'languageHint
' attribute.
|
inline |
Clears the 'logDir
' attribute.
|
inline |
Clears the 'logToSerialconsole
' attribute.
|
inline |
Clears the 'logUploadLocation
' attribute.
|
inline |
Clears the 'oauthScopes
' attribute.
|
inline |
Clears the 'parallelWorkerSettings
' attribute.
|
inline |
Clears the 'streamingWorkerMainClass
' attribute.
|
inline |
Clears the 'taskGroup
' attribute.
|
inline |
Clears the 'taskUser
' attribute.
|
inline |
Clears the 'tempStoragePrefix
' attribute.
|
inline |
Clears the 'vmId
' attribute.
|
inline |
Clears the 'workflowFileName
' attribute.
|
inline |
Get the value of the 'alsologtostderr
' attribute.
|
inline |
Get the value of the 'baseTaskDir
' attribute.
|
inline |
Get the value of the 'baseUrl
' attribute.
|
inline |
Get the value of the 'commandlinesFileName
' attribute.
|
inline |
Get the value of the 'continueOnException
' attribute.
|
inline |
Get the value of the 'dataflowApiVersion
' attribute.
|
inline |
Get the value of the 'harnessCommand
' attribute.
|
inline |
Get the value of the 'languageHint
' attribute.
|
inline |
Get the value of the 'logDir
' attribute.
|
inline |
Get the value of the 'logToSerialconsole
' attribute.
|
inline |
Get the value of the 'logUploadLocation
' attribute.
|
inline |
Get a reference to the value of the 'oauthScopes
' attribute.
const WorkerSettings google_dataflow_api::TaskRunnerSettings::get_parallel_worker_settings | ( | ) | const |
Get a reference to the value of the 'parallelWorkerSettings
' attribute.
|
inline |
Get the value of the 'streamingWorkerMainClass
' attribute.
|
inline |
Get the value of the 'taskGroup
' attribute.
|
inline |
Get the value of the 'taskUser
' attribute.
|
inline |
Get the value of the 'tempStoragePrefix
' attribute.
|
inline |
Get the value of the 'vmId
' attribute.
|
inline |
Get the value of the 'workflowFileName
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'alsologtostderr
' attribute was set.
alsologtostderr
' attribute was set.
|
inline |
Determine if the 'baseTaskDir
' attribute was set.
baseTaskDir
' attribute was set.
|
inline |
Determine if the 'baseUrl
' attribute was set.
baseUrl
' attribute was set.
|
inline |
Determine if the 'commandlinesFileName
' attribute was set.
commandlinesFileName
' attribute was set.
|
inline |
Determine if the 'continueOnException
' attribute was set.
continueOnException
' attribute was set.
|
inline |
Determine if the 'dataflowApiVersion
' attribute was set.
dataflowApiVersion
' attribute was set.
|
inline |
Determine if the 'harnessCommand
' attribute was set.
harnessCommand
' attribute was set.
|
inline |
Determine if the 'languageHint
' attribute was set.
languageHint
' attribute was set.
|
inline |
Determine if the 'logDir
' attribute was set.
logDir
' attribute was set.
|
inline |
Determine if the 'logToSerialconsole
' attribute was set.
logToSerialconsole
' attribute was set.
|
inline |
Determine if the 'logUploadLocation
' attribute was set.
logUploadLocation
' attribute was set.
|
inline |
Determine if the 'oauthScopes
' attribute was set.
oauthScopes
' attribute was set.
|
inline |
Determine if the 'parallelWorkerSettings
' attribute was set.
parallelWorkerSettings
' attribute was set.
|
inline |
Determine if the 'streamingWorkerMainClass
' attribute was set.
streamingWorkerMainClass
' attribute was set.
|
inline |
Determine if the 'taskGroup
' attribute was set.
taskGroup
' attribute was set.
|
inline |
Determine if the 'taskUser
' attribute was set.
taskUser
' attribute was set.
|
inline |
Determine if the 'tempStoragePrefix
' attribute was set.
tempStoragePrefix
' attribute was set.
|
inline |
Determine if the 'vmId
' attribute was set.
vmId
' attribute was set.
|
inline |
Determine if the 'workflowFileName
' attribute was set.
workflowFileName
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'oauthScopes
' property.
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
WorkerSettings google_dataflow_api::TaskRunnerSettings::mutable_parallelWorkerSettings | ( | ) |
Gets a reference to a mutable value of the 'parallelWorkerSettings
' property.
The settings to pass to the parallel worker harness.
|
static |
Creates a new default instance.
|
inline |
Change the 'alsologtostderr
' attribute.
Whether to also send taskrunner log info to stderr.
[in] | value | The new value. |
|
inline |
Change the 'baseTaskDir
' attribute.
The location on the worker for task-specific subdirectories.
[in] | value | The new value. |
|
inline |
Change the 'baseUrl
' attribute.
The base URL for the taskrunner to use when accessing Google Cloud APIs.
When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators".
If not specified, the default value is "http://www.googleapis.com/".
[in] | value | The new value. |
|
inline |
Change the 'commandlinesFileName
' attribute.
The file to store preprocessing commands in.
[in] | value | The new value. |
|
inline |
Change the 'continueOnException
' attribute.
Whether to continue taskrunner if an exception is hit.
[in] | value | The new value. |
|
inline |
Change the 'dataflowApiVersion
' attribute.
The API version of endpoint, e.g. "v1b3".
[in] | value | The new value. |
|
inline |
Change the 'harnessCommand
' attribute.
The command to launch the worker harness.
[in] | value | The new value. |
|
inline |
Change the 'languageHint
' attribute.
The suggested backend language.
[in] | value | The new value. |
|
inline |
Change the 'logDir
' attribute.
The directory on the VM to store logs.
[in] | value | The new value. |
|
inline |
Change the 'logToSerialconsole
' attribute.
Whether to send taskrunner log info to Google Compute Engine VM serial console.
[in] | value | The new value. |
|
inline |
Change the 'logUploadLocation
' attribute.
Indicates where to put logs. If this is not specified, the logs will not be uploaded.
The supported resource type is:
Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}.
[in] | value | The new value. |
|
inline |
Change the 'streamingWorkerMainClass
' attribute.
The streaming worker main class name.
[in] | value | The new value. |
|
inline |
Change the 'taskGroup
' attribute.
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
[in] | value | The new value. |
|
inline |
Change the 'taskUser
' attribute.
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
[in] | value | The new value. |
|
inline |
Change the 'tempStoragePrefix
' attribute.
The prefix of the resources the taskrunner should use for temporary storage.
The supported resource type is:
Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}.
[in] | value | The new value. |
|
inline |
Change the 'vmId
' attribute.
The ID string of the VM.
[in] | value | The new value. |
|
inline |
Change the 'workflowFileName
' attribute.
The file to store the workflow in.
[in] | value | The new value. |