Interface TaskRunnerSettingsOrBuilder (0.32.0)

public interface TaskRunnerSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAlsologtostderr()

public abstract boolean getAlsologtostderr()

Whether to also send taskrunner log info to stderr.

bool alsologtostderr = 10;

Returns
TypeDescription
boolean

The alsologtostderr.

getBaseTaskDir()

public abstract String getBaseTaskDir()

The location on the worker for task-specific subdirectories.

string base_task_dir = 7;

Returns
TypeDescription
String

The baseTaskDir.

getBaseTaskDirBytes()

public abstract ByteString getBaseTaskDirBytes()

The location on the worker for task-specific subdirectories.

string base_task_dir = 7;

Returns
TypeDescription
ByteString

The bytes for baseTaskDir.

getBaseUrl()

public abstract String getBaseUrl()

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/"

string base_url = 4;

Returns
TypeDescription
String

The baseUrl.

getBaseUrlBytes()

public abstract ByteString getBaseUrlBytes()

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/"

string base_url = 4;

Returns
TypeDescription
ByteString

The bytes for baseUrl.

getCommandlinesFileName()

public abstract String getCommandlinesFileName()

The file to store preprocessing commands in.

string commandlines_file_name = 16;

Returns
TypeDescription
String

The commandlinesFileName.

getCommandlinesFileNameBytes()

public abstract ByteString getCommandlinesFileNameBytes()

The file to store preprocessing commands in.

string commandlines_file_name = 16;

Returns
TypeDescription
ByteString

The bytes for commandlinesFileName.

getContinueOnException()

public abstract boolean getContinueOnException()

Whether to continue taskrunner if an exception is hit.

bool continue_on_exception = 8;

Returns
TypeDescription
boolean

The continueOnException.

getDataflowApiVersion()

public abstract String getDataflowApiVersion()

The API version of endpoint, e.g. "v1b3"

string dataflow_api_version = 5;

Returns
TypeDescription
String

The dataflowApiVersion.

getDataflowApiVersionBytes()

public abstract ByteString getDataflowApiVersionBytes()

The API version of endpoint, e.g. "v1b3"

string dataflow_api_version = 5;

Returns
TypeDescription
ByteString

The bytes for dataflowApiVersion.

getHarnessCommand()

public abstract String getHarnessCommand()

The command to launch the worker harness.

string harness_command = 14;

Returns
TypeDescription
String

The harnessCommand.

getHarnessCommandBytes()

public abstract ByteString getHarnessCommandBytes()

The command to launch the worker harness.

string harness_command = 14;

Returns
TypeDescription
ByteString

The bytes for harnessCommand.

getLanguageHint()

public abstract String getLanguageHint()

The suggested backend language.

string language_hint = 18;

Returns
TypeDescription
String

The languageHint.

getLanguageHintBytes()

public abstract ByteString getLanguageHintBytes()

The suggested backend language.

string language_hint = 18;

Returns
TypeDescription
ByteString

The bytes for languageHint.

getLogDir()

public abstract String getLogDir()

The directory on the VM to store logs.

string log_dir = 12;

Returns
TypeDescription
String

The logDir.

getLogDirBytes()

public abstract ByteString getLogDirBytes()

The directory on the VM to store logs.

string log_dir = 12;

Returns
TypeDescription
ByteString

The bytes for logDir.

getLogToSerialconsole()

public abstract boolean getLogToSerialconsole()

Whether to send taskrunner log info to Google Compute Engine VM serial console.

bool log_to_serialconsole = 9;

Returns
TypeDescription
boolean

The logToSerialconsole.

getLogUploadLocation()

public abstract String getLogUploadLocation()

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}

string log_upload_location = 11;

Returns
TypeDescription
String

The logUploadLocation.

getLogUploadLocationBytes()

public abstract ByteString getLogUploadLocationBytes()

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}

string log_upload_location = 11;

Returns
TypeDescription
ByteString

The bytes for logUploadLocation.

getOauthScopes(int index)

public abstract String getOauthScopes(int index)

The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.

repeated string oauth_scopes = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The oauthScopes at the given index.

getOauthScopesBytes(int index)

public abstract ByteString getOauthScopesBytes(int index)

The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.

repeated string oauth_scopes = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the oauthScopes at the given index.

getOauthScopesCount()

public abstract int getOauthScopesCount()

The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.

repeated string oauth_scopes = 3;

Returns
TypeDescription
int

The count of oauthScopes.

getOauthScopesList()

public abstract List<String> getOauthScopesList()

The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.

repeated string oauth_scopes = 3;

Returns
TypeDescription
List<String>

A list containing the oauthScopes.

getParallelWorkerSettings()

public abstract WorkerSettings getParallelWorkerSettings()

The settings to pass to the parallel worker harness.

.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;

Returns
TypeDescription
WorkerSettings

The parallelWorkerSettings.

getParallelWorkerSettingsOrBuilder()

public abstract WorkerSettingsOrBuilder getParallelWorkerSettingsOrBuilder()

The settings to pass to the parallel worker harness.

.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;

Returns
TypeDescription
WorkerSettingsOrBuilder

getStreamingWorkerMainClass()

public abstract String getStreamingWorkerMainClass()

The streaming worker main class name.

string streaming_worker_main_class = 19;

Returns
TypeDescription
String

The streamingWorkerMainClass.

getStreamingWorkerMainClassBytes()

public abstract ByteString getStreamingWorkerMainClassBytes()

The streaming worker main class name.

string streaming_worker_main_class = 19;

Returns
TypeDescription
ByteString

The bytes for streamingWorkerMainClass.

getTaskGroup()

public abstract String getTaskGroup()

The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".

string task_group = 2;

Returns
TypeDescription
String

The taskGroup.

getTaskGroupBytes()

public abstract ByteString getTaskGroupBytes()

The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".

string task_group = 2;

Returns
TypeDescription
ByteString

The bytes for taskGroup.

getTaskUser()

public abstract String getTaskUser()

The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".

string task_user = 1;

Returns
TypeDescription
String

The taskUser.

getTaskUserBytes()

public abstract ByteString getTaskUserBytes()

The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".

string task_user = 1;

Returns
TypeDescription
ByteString

The bytes for taskUser.

getTempStoragePrefix()

public abstract String getTempStoragePrefix()

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}

string temp_storage_prefix = 13;

Returns
TypeDescription
String

The tempStoragePrefix.

getTempStoragePrefixBytes()

public abstract ByteString getTempStoragePrefixBytes()

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}

string temp_storage_prefix = 13;

Returns
TypeDescription
ByteString

The bytes for tempStoragePrefix.

getVmId()

public abstract String getVmId()

The ID string of the VM.

string vm_id = 17;

Returns
TypeDescription
String

The vmId.

getVmIdBytes()

public abstract ByteString getVmIdBytes()

The ID string of the VM.

string vm_id = 17;

Returns
TypeDescription
ByteString

The bytes for vmId.

getWorkflowFileName()

public abstract String getWorkflowFileName()

The file to store the workflow in.

string workflow_file_name = 15;

Returns
TypeDescription
String

The workflowFileName.

getWorkflowFileNameBytes()

public abstract ByteString getWorkflowFileNameBytes()

The file to store the workflow in.

string workflow_file_name = 15;

Returns
TypeDescription
ByteString

The bytes for workflowFileName.

hasParallelWorkerSettings()

public abstract boolean hasParallelWorkerSettings()

The settings to pass to the parallel worker harness.

.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;

Returns
TypeDescription
boolean

Whether the parallelWorkerSettings field is set.