All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataflow.model.TaskRunnerSettings.html Maven / Gradle / Ivy

There is a newer version: v1b4-rev7-1.20.0
Show newest version






TaskRunnerSettings (Dataflow API v1b3-rev20231112-2.0.0)












com.google.api.services.dataflow.model

Class TaskRunnerSettings

    • Constructor Detail

      • TaskRunnerSettings

        public TaskRunnerSettings()
    • Method Detail

      • getAlsologtostderr

        public Boolean getAlsologtostderr()
        Whether to also send taskrunner log info to stderr.
        Returns:
        value or null for none
      • setAlsologtostderr

        public TaskRunnerSettings setAlsologtostderr(Boolean alsologtostderr)
        Whether to also send taskrunner log info to stderr.
        Parameters:
        alsologtostderr - alsologtostderr or null for none
      • getBaseTaskDir

        public String getBaseTaskDir()
        The location on the worker for task-specific subdirectories.
        Returns:
        value or null for none
      • setBaseTaskDir

        public TaskRunnerSettings setBaseTaskDir(String baseTaskDir)
        The location on the worker for task-specific subdirectories.
        Parameters:
        baseTaskDir - baseTaskDir or null for none
      • getBaseUrl

        public 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/"
        Returns:
        value or null for none
      • setBaseUrl

        public TaskRunnerSettings setBaseUrl(String baseUrl)
        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/"
        Parameters:
        baseUrl - baseUrl or null for none
      • getCommandlinesFileName

        public String getCommandlinesFileName()
        The file to store preprocessing commands in.
        Returns:
        value or null for none
      • setCommandlinesFileName

        public TaskRunnerSettings setCommandlinesFileName(String commandlinesFileName)
        The file to store preprocessing commands in.
        Parameters:
        commandlinesFileName - commandlinesFileName or null for none
      • getContinueOnException

        public Boolean getContinueOnException()
        Whether to continue taskrunner if an exception is hit.
        Returns:
        value or null for none
      • setContinueOnException

        public TaskRunnerSettings setContinueOnException(Boolean continueOnException)
        Whether to continue taskrunner if an exception is hit.
        Parameters:
        continueOnException - continueOnException or null for none
      • getDataflowApiVersion

        public String getDataflowApiVersion()
        The API version of endpoint, e.g. "v1b3"
        Returns:
        value or null for none
      • setDataflowApiVersion

        public TaskRunnerSettings setDataflowApiVersion(String dataflowApiVersion)
        The API version of endpoint, e.g. "v1b3"
        Parameters:
        dataflowApiVersion - dataflowApiVersion or null for none
      • getHarnessCommand

        public String getHarnessCommand()
        The command to launch the worker harness.
        Returns:
        value or null for none
      • setHarnessCommand

        public TaskRunnerSettings setHarnessCommand(String harnessCommand)
        The command to launch the worker harness.
        Parameters:
        harnessCommand - harnessCommand or null for none
      • getLanguageHint

        public String getLanguageHint()
        The suggested backend language.
        Returns:
        value or null for none
      • setLanguageHint

        public TaskRunnerSettings setLanguageHint(String languageHint)
        The suggested backend language.
        Parameters:
        languageHint - languageHint or null for none
      • getLogDir

        public String getLogDir()
        The directory on the VM to store logs.
        Returns:
        value or null for none
      • setLogDir

        public TaskRunnerSettings setLogDir(String logDir)
        The directory on the VM to store logs.
        Parameters:
        logDir - logDir or null for none
      • getLogToSerialconsole

        public Boolean getLogToSerialconsole()
        Whether to send taskrunner log info to Google Compute Engine VM serial console.
        Returns:
        value or null for none
      • setLogToSerialconsole

        public TaskRunnerSettings setLogToSerialconsole(Boolean logToSerialconsole)
        Whether to send taskrunner log info to Google Compute Engine VM serial console.
        Parameters:
        logToSerialconsole - logToSerialconsole or null for none
      • getLogUploadLocation

        public 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}
        Returns:
        value or null for none
      • setLogUploadLocation

        public TaskRunnerSettings setLogUploadLocation(String logUploadLocation)
        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}
        Parameters:
        logUploadLocation - logUploadLocation or null for none
      • getOauthScopes

        public List<String> getOauthScopes()
        The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
        Returns:
        value or null for none
      • setOauthScopes

        public TaskRunnerSettings setOauthScopes(List<String> oauthScopes)
        The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
        Parameters:
        oauthScopes - oauthScopes or null for none
      • getParallelWorkerSettings

        public WorkerSettings getParallelWorkerSettings()
        The settings to pass to the parallel worker harness.
        Returns:
        value or null for none
      • setParallelWorkerSettings

        public TaskRunnerSettings setParallelWorkerSettings(WorkerSettings parallelWorkerSettings)
        The settings to pass to the parallel worker harness.
        Parameters:
        parallelWorkerSettings - parallelWorkerSettings or null for none
      • getStreamingWorkerMainClass

        public String getStreamingWorkerMainClass()
        The streaming worker main class name.
        Returns:
        value or null for none
      • setStreamingWorkerMainClass

        public TaskRunnerSettings setStreamingWorkerMainClass(String streamingWorkerMainClass)
        The streaming worker main class name.
        Parameters:
        streamingWorkerMainClass - streamingWorkerMainClass or null for none
      • getTaskGroup

        public String getTaskGroup()
        The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
        Returns:
        value or null for none
      • setTaskGroup

        public TaskRunnerSettings setTaskGroup(String taskGroup)
        The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
        Parameters:
        taskGroup - taskGroup or null for none
      • getTaskUser

        public String getTaskUser()
        The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
        Returns:
        value or null for none
      • setTaskUser

        public TaskRunnerSettings setTaskUser(String taskUser)
        The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
        Parameters:
        taskUser - taskUser or null for none
      • getTempStoragePrefix

        public 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}
        Returns:
        value or null for none
      • setTempStoragePrefix

        public TaskRunnerSettings setTempStoragePrefix(String tempStoragePrefix)
        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}
        Parameters:
        tempStoragePrefix - tempStoragePrefix or null for none
      • getVmId

        public String getVmId()
        The ID string of the VM.
        Returns:
        value or null for none
      • setVmId

        public TaskRunnerSettings setVmId(String vmId)
        The ID string of the VM.
        Parameters:
        vmId - vmId or null for none
      • getWorkflowFileName

        public String getWorkflowFileName()
        The file to store the workflow in.
        Returns:
        value or null for none
      • setWorkflowFileName

        public TaskRunnerSettings setWorkflowFileName(String workflowFileName)
        The file to store the workflow in.
        Parameters:
        workflowFileName - workflowFileName or null for none
      • clone

        public TaskRunnerSettings clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy