Package com.google.dataflow.v1beta3
Class TaskRunnerSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
com.google.dataflow.v1beta3.TaskRunnerSettings.Builder
- All Implemented Interfaces:
TaskRunnerSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TaskRunnerSettings
public static final class TaskRunnerSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
implements TaskRunnerSettingsOrBuilder
Taskrunner configuration settings.Protobuf type
google.dataflow.v1beta3.TaskRunnerSettings-
Method Summary
Modifier and TypeMethodDescriptionaddAllOauthScopes(Iterable<String> values) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.addOauthScopes(String value) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.addOauthScopesBytes(com.google.protobuf.ByteString value) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.build()clear()Whether to also send taskrunner log info to stderr.The location on the worker for task-specific subdirectories.The base URL for the taskrunner to use when accessing Google Cloud APIs.The file to store preprocessing commands in.Whether to continue taskrunner if an exception is hit.The API version of endpoint, e.g.The command to launch the worker harness.The suggested backend language.The directory on the VM to store logs.Whether to send taskrunner log info to Google Compute Engine VM serial console.Indicates where to put logs.The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.The settings to pass to the parallel worker harness.The streaming worker main class name.The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.The prefix of the resources the taskrunner should use for temporary storage.The ID string of the VM.The file to store the workflow in.booleanWhether to also send taskrunner log info to stderr.The location on the worker for task-specific subdirectories.com.google.protobuf.ByteStringThe location on the worker for task-specific subdirectories.The base URL for the taskrunner to use when accessing Google Cloud APIs.com.google.protobuf.ByteStringThe base URL for the taskrunner to use when accessing Google Cloud APIs.The file to store preprocessing commands in.com.google.protobuf.ByteStringThe file to store preprocessing commands in.booleanWhether to continue taskrunner if an exception is hit.The API version of endpoint, e.g.com.google.protobuf.ByteStringThe API version of endpoint, e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe command to launch the worker harness.com.google.protobuf.ByteStringThe command to launch the worker harness.The suggested backend language.com.google.protobuf.ByteStringThe suggested backend language.The directory on the VM to store logs.com.google.protobuf.ByteStringThe directory on the VM to store logs.booleanWhether to send taskrunner log info to Google Compute Engine VM serial console.Indicates where to put logs.com.google.protobuf.ByteStringIndicates where to put logs.getOauthScopes(int index) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.com.google.protobuf.ByteStringgetOauthScopesBytes(int index) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.intThe OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.com.google.protobuf.ProtocolStringListThe OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.The settings to pass to the parallel worker harness.The settings to pass to the parallel worker harness.The settings to pass to the parallel worker harness.The streaming worker main class name.com.google.protobuf.ByteStringThe streaming worker main class name.The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.com.google.protobuf.ByteStringThe UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.com.google.protobuf.ByteStringThe UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.The prefix of the resources the taskrunner should use for temporary storage.com.google.protobuf.ByteStringThe prefix of the resources the taskrunner should use for temporary storage.getVmId()The ID string of the VM.com.google.protobuf.ByteStringThe ID string of the VM.The file to store the workflow in.com.google.protobuf.ByteStringThe file to store the workflow in.booleanThe settings to pass to the parallel worker harness.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TaskRunnerSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The settings to pass to the parallel worker harness.setAlsologtostderr(boolean value) Whether to also send taskrunner log info to stderr.setBaseTaskDir(String value) The location on the worker for task-specific subdirectories.setBaseTaskDirBytes(com.google.protobuf.ByteString value) The location on the worker for task-specific subdirectories.setBaseUrl(String value) The base URL for the taskrunner to use when accessing Google Cloud APIs.setBaseUrlBytes(com.google.protobuf.ByteString value) The base URL for the taskrunner to use when accessing Google Cloud APIs.setCommandlinesFileName(String value) The file to store preprocessing commands in.setCommandlinesFileNameBytes(com.google.protobuf.ByteString value) The file to store preprocessing commands in.setContinueOnException(boolean value) Whether to continue taskrunner if an exception is hit.setDataflowApiVersion(String value) The API version of endpoint, e.g.setDataflowApiVersionBytes(com.google.protobuf.ByteString value) The API version of endpoint, e.g.setHarnessCommand(String value) The command to launch the worker harness.setHarnessCommandBytes(com.google.protobuf.ByteString value) The command to launch the worker harness.setLanguageHint(String value) The suggested backend language.setLanguageHintBytes(com.google.protobuf.ByteString value) The suggested backend language.The directory on the VM to store logs.setLogDirBytes(com.google.protobuf.ByteString value) The directory on the VM to store logs.setLogToSerialconsole(boolean value) Whether to send taskrunner log info to Google Compute Engine VM serial console.setLogUploadLocation(String value) Indicates where to put logs.setLogUploadLocationBytes(com.google.protobuf.ByteString value) Indicates where to put logs.setOauthScopes(int index, String value) The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.The settings to pass to the parallel worker harness.setParallelWorkerSettings(WorkerSettings.Builder builderForValue) The settings to pass to the parallel worker harness.The streaming worker main class name.setStreamingWorkerMainClassBytes(com.google.protobuf.ByteString value) The streaming worker main class name.setTaskGroup(String value) The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.setTaskGroupBytes(com.google.protobuf.ByteString value) The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g.setTaskUser(String value) The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.setTaskUserBytes(com.google.protobuf.ByteString value) The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g.setTempStoragePrefix(String value) The prefix of the resources the taskrunner should use for temporary storage.setTempStoragePrefixBytes(com.google.protobuf.ByteString value) The prefix of the resources the taskrunner should use for temporary storage.The ID string of the VM.setVmIdBytes(com.google.protobuf.ByteString value) The ID string of the VM.setWorkflowFileName(String value) The file to store the workflow in.setWorkflowFileNameBytes(com.google.protobuf.ByteString value) The file to store the workflow in.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskRunnerSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TaskRunnerSettings.Builder>
-
mergeFrom
public TaskRunnerSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskRunnerSettings.Builder>- Throws:
IOException
-
getTaskUser
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
string task_user = 1;- Specified by:
getTaskUserin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The taskUser.
-
getTaskUserBytes
public com.google.protobuf.ByteString getTaskUserBytes()The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
string task_user = 1;- Specified by:
getTaskUserBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for taskUser.
-
setTaskUser
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
string task_user = 1;- Parameters:
value- The taskUser to set.- Returns:
- This builder for chaining.
-
clearTaskUser
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
string task_user = 1;- Returns:
- This builder for chaining.
-
setTaskUserBytes
The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
string task_user = 1;- Parameters:
value- The bytes for taskUser to set.- Returns:
- This builder for chaining.
-
getTaskGroup
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
string task_group = 2;- Specified by:
getTaskGroupin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The taskGroup.
-
getTaskGroupBytes
public com.google.protobuf.ByteString getTaskGroupBytes()The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
string task_group = 2;- Specified by:
getTaskGroupBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for taskGroup.
-
setTaskGroup
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
string task_group = 2;- Parameters:
value- The taskGroup to set.- Returns:
- This builder for chaining.
-
clearTaskGroup
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
string task_group = 2;- Returns:
- This builder for chaining.
-
setTaskGroupBytes
The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
string task_group = 2;- Parameters:
value- The bytes for taskGroup to set.- Returns:
- This builder for chaining.
-
getOauthScopesList
public com.google.protobuf.ProtocolStringList getOauthScopesList()The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Specified by:
getOauthScopesListin interfaceTaskRunnerSettingsOrBuilder- Returns:
- A list containing the oauthScopes.
-
getOauthScopesCount
public int getOauthScopesCount()The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Specified by:
getOauthScopesCountin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The count of oauthScopes.
-
getOauthScopes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Specified by:
getOauthScopesin interfaceTaskRunnerSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The oauthScopes at the given index.
-
getOauthScopesBytes
public com.google.protobuf.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;- Specified by:
getOauthScopesBytesin interfaceTaskRunnerSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the oauthScopes at the given index.
-
setOauthScopes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Parameters:
index- The index to set the value at.value- The oauthScopes to set.- Returns:
- This builder for chaining.
-
addOauthScopes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Parameters:
value- The oauthScopes to add.- Returns:
- This builder for chaining.
-
addAllOauthScopes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Parameters:
values- The oauthScopes to add.- Returns:
- This builder for chaining.
-
clearOauthScopes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Returns:
- This builder for chaining.
-
addOauthScopesBytes
The OAuth2 scopes to be requested by the taskrunner in order to access the Cloud Dataflow API.
repeated string oauth_scopes = 3;- Parameters:
value- The bytes of the oauthScopes to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getBaseUrlin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The baseUrl.
-
getBaseUrlBytes
public com.google.protobuf.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;- Specified by:
getBaseUrlBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for baseUrl.
-
setBaseUrl
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;- Parameters:
value- The baseUrl to set.- Returns:
- This builder for chaining.
-
clearBaseUrl
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:
- This builder for chaining.
-
setBaseUrlBytes
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;- Parameters:
value- The bytes for baseUrl to set.- Returns:
- This builder for chaining.
-
getDataflowApiVersion
The API version of endpoint, e.g. "v1b3"
string dataflow_api_version = 5;- Specified by:
getDataflowApiVersionin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The dataflowApiVersion.
-
getDataflowApiVersionBytes
public com.google.protobuf.ByteString getDataflowApiVersionBytes()The API version of endpoint, e.g. "v1b3"
string dataflow_api_version = 5;- Specified by:
getDataflowApiVersionBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for dataflowApiVersion.
-
setDataflowApiVersion
The API version of endpoint, e.g. "v1b3"
string dataflow_api_version = 5;- Parameters:
value- The dataflowApiVersion to set.- Returns:
- This builder for chaining.
-
clearDataflowApiVersion
The API version of endpoint, e.g. "v1b3"
string dataflow_api_version = 5;- Returns:
- This builder for chaining.
-
setDataflowApiVersionBytes
The API version of endpoint, e.g. "v1b3"
string dataflow_api_version = 5;- Parameters:
value- The bytes for dataflowApiVersion to set.- Returns:
- This builder for chaining.
-
hasParallelWorkerSettings
public boolean hasParallelWorkerSettings()The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;- Specified by:
hasParallelWorkerSettingsin interfaceTaskRunnerSettingsOrBuilder- Returns:
- Whether the parallelWorkerSettings field is set.
-
getParallelWorkerSettings
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;- Specified by:
getParallelWorkerSettingsin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The parallelWorkerSettings.
-
setParallelWorkerSettings
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6; -
setParallelWorkerSettings
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6; -
mergeParallelWorkerSettings
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6; -
clearParallelWorkerSettings
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6; -
getParallelWorkerSettingsBuilder
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6; -
getParallelWorkerSettingsOrBuilder
The settings to pass to the parallel worker harness.
.google.dataflow.v1beta3.WorkerSettings parallel_worker_settings = 6;- Specified by:
getParallelWorkerSettingsOrBuilderin interfaceTaskRunnerSettingsOrBuilder
-
getBaseTaskDir
The location on the worker for task-specific subdirectories.
string base_task_dir = 7;- Specified by:
getBaseTaskDirin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The baseTaskDir.
-
getBaseTaskDirBytes
public com.google.protobuf.ByteString getBaseTaskDirBytes()The location on the worker for task-specific subdirectories.
string base_task_dir = 7;- Specified by:
getBaseTaskDirBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for baseTaskDir.
-
setBaseTaskDir
The location on the worker for task-specific subdirectories.
string base_task_dir = 7;- Parameters:
value- The baseTaskDir to set.- Returns:
- This builder for chaining.
-
clearBaseTaskDir
The location on the worker for task-specific subdirectories.
string base_task_dir = 7;- Returns:
- This builder for chaining.
-
setBaseTaskDirBytes
The location on the worker for task-specific subdirectories.
string base_task_dir = 7;- Parameters:
value- The bytes for baseTaskDir to set.- Returns:
- This builder for chaining.
-
getContinueOnException
public boolean getContinueOnException()Whether to continue taskrunner if an exception is hit.
bool continue_on_exception = 8;- Specified by:
getContinueOnExceptionin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The continueOnException.
-
setContinueOnException
Whether to continue taskrunner if an exception is hit.
bool continue_on_exception = 8;- Parameters:
value- The continueOnException to set.- Returns:
- This builder for chaining.
-
clearContinueOnException
Whether to continue taskrunner if an exception is hit.
bool continue_on_exception = 8;- Returns:
- This builder for chaining.
-
getLogToSerialconsole
public boolean getLogToSerialconsole()Whether to send taskrunner log info to Google Compute Engine VM serial console.
bool log_to_serialconsole = 9;- Specified by:
getLogToSerialconsolein interfaceTaskRunnerSettingsOrBuilder- Returns:
- The logToSerialconsole.
-
setLogToSerialconsole
Whether to send taskrunner log info to Google Compute Engine VM serial console.
bool log_to_serialconsole = 9;- Parameters:
value- The logToSerialconsole to set.- Returns:
- This builder for chaining.
-
clearLogToSerialconsole
Whether to send taskrunner log info to Google Compute Engine VM serial console.
bool log_to_serialconsole = 9;- Returns:
- This builder for chaining.
-
getAlsologtostderr
public boolean getAlsologtostderr()Whether to also send taskrunner log info to stderr.
bool alsologtostderr = 10;- Specified by:
getAlsologtostderrin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The alsologtostderr.
-
setAlsologtostderr
Whether to also send taskrunner log info to stderr.
bool alsologtostderr = 10;- Parameters:
value- The alsologtostderr to set.- Returns:
- This builder for chaining.
-
clearAlsologtostderr
Whether to also send taskrunner log info to stderr.
bool alsologtostderr = 10;- Returns:
- This builder for chaining.
-
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;- Specified by:
getLogUploadLocationin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The logUploadLocation.
-
getLogUploadLocationBytes
public com.google.protobuf.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;- Specified by:
getLogUploadLocationBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for logUploadLocation.
-
setLogUploadLocation
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;- Parameters:
value- The logUploadLocation to set.- Returns:
- This builder for chaining.
-
clearLogUploadLocation
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:
- This builder for chaining.
-
setLogUploadLocationBytes
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;- Parameters:
value- The bytes for logUploadLocation to set.- Returns:
- This builder for chaining.
-
getLogDir
The directory on the VM to store logs.
string log_dir = 12;- Specified by:
getLogDirin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The logDir.
-
getLogDirBytes
public com.google.protobuf.ByteString getLogDirBytes()The directory on the VM to store logs.
string log_dir = 12;- Specified by:
getLogDirBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for logDir.
-
setLogDir
The directory on the VM to store logs.
string log_dir = 12;- Parameters:
value- The logDir to set.- Returns:
- This builder for chaining.
-
clearLogDir
The directory on the VM to store logs.
string log_dir = 12;- Returns:
- This builder for chaining.
-
setLogDirBytes
The directory on the VM to store logs.
string log_dir = 12;- Parameters:
value- The bytes for logDir to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getTempStoragePrefixin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The tempStoragePrefix.
-
getTempStoragePrefixBytes
public com.google.protobuf.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;- Specified by:
getTempStoragePrefixBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for tempStoragePrefix.
-
setTempStoragePrefix
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;- Parameters:
value- The tempStoragePrefix to set.- Returns:
- This builder for chaining.
-
clearTempStoragePrefix
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:
- This builder for chaining.
-
setTempStoragePrefixBytes
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;- Parameters:
value- The bytes for tempStoragePrefix to set.- Returns:
- This builder for chaining.
-
getHarnessCommand
The command to launch the worker harness.
string harness_command = 14;- Specified by:
getHarnessCommandin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The harnessCommand.
-
getHarnessCommandBytes
public com.google.protobuf.ByteString getHarnessCommandBytes()The command to launch the worker harness.
string harness_command = 14;- Specified by:
getHarnessCommandBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for harnessCommand.
-
setHarnessCommand
The command to launch the worker harness.
string harness_command = 14;- Parameters:
value- The harnessCommand to set.- Returns:
- This builder for chaining.
-
clearHarnessCommand
The command to launch the worker harness.
string harness_command = 14;- Returns:
- This builder for chaining.
-
setHarnessCommandBytes
The command to launch the worker harness.
string harness_command = 14;- Parameters:
value- The bytes for harnessCommand to set.- Returns:
- This builder for chaining.
-
getWorkflowFileName
The file to store the workflow in.
string workflow_file_name = 15;- Specified by:
getWorkflowFileNamein interfaceTaskRunnerSettingsOrBuilder- Returns:
- The workflowFileName.
-
getWorkflowFileNameBytes
public com.google.protobuf.ByteString getWorkflowFileNameBytes()The file to store the workflow in.
string workflow_file_name = 15;- Specified by:
getWorkflowFileNameBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for workflowFileName.
-
setWorkflowFileName
The file to store the workflow in.
string workflow_file_name = 15;- Parameters:
value- The workflowFileName to set.- Returns:
- This builder for chaining.
-
clearWorkflowFileName
The file to store the workflow in.
string workflow_file_name = 15;- Returns:
- This builder for chaining.
-
setWorkflowFileNameBytes
The file to store the workflow in.
string workflow_file_name = 15;- Parameters:
value- The bytes for workflowFileName to set.- Returns:
- This builder for chaining.
-
getCommandlinesFileName
The file to store preprocessing commands in.
string commandlines_file_name = 16;- Specified by:
getCommandlinesFileNamein interfaceTaskRunnerSettingsOrBuilder- Returns:
- The commandlinesFileName.
-
getCommandlinesFileNameBytes
public com.google.protobuf.ByteString getCommandlinesFileNameBytes()The file to store preprocessing commands in.
string commandlines_file_name = 16;- Specified by:
getCommandlinesFileNameBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for commandlinesFileName.
-
setCommandlinesFileName
The file to store preprocessing commands in.
string commandlines_file_name = 16;- Parameters:
value- The commandlinesFileName to set.- Returns:
- This builder for chaining.
-
clearCommandlinesFileName
The file to store preprocessing commands in.
string commandlines_file_name = 16;- Returns:
- This builder for chaining.
-
setCommandlinesFileNameBytes
public TaskRunnerSettings.Builder setCommandlinesFileNameBytes(com.google.protobuf.ByteString value) The file to store preprocessing commands in.
string commandlines_file_name = 16;- Parameters:
value- The bytes for commandlinesFileName to set.- Returns:
- This builder for chaining.
-
getVmId
The ID string of the VM.
string vm_id = 17;- Specified by:
getVmIdin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The vmId.
-
getVmIdBytes
public com.google.protobuf.ByteString getVmIdBytes()The ID string of the VM.
string vm_id = 17;- Specified by:
getVmIdBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for vmId.
-
setVmId
The ID string of the VM.
string vm_id = 17;- Parameters:
value- The vmId to set.- Returns:
- This builder for chaining.
-
clearVmId
The ID string of the VM.
string vm_id = 17;- Returns:
- This builder for chaining.
-
setVmIdBytes
The ID string of the VM.
string vm_id = 17;- Parameters:
value- The bytes for vmId to set.- Returns:
- This builder for chaining.
-
getLanguageHint
The suggested backend language.
string language_hint = 18;- Specified by:
getLanguageHintin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The languageHint.
-
getLanguageHintBytes
public com.google.protobuf.ByteString getLanguageHintBytes()The suggested backend language.
string language_hint = 18;- Specified by:
getLanguageHintBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for languageHint.
-
setLanguageHint
The suggested backend language.
string language_hint = 18;- Parameters:
value- The languageHint to set.- Returns:
- This builder for chaining.
-
clearLanguageHint
The suggested backend language.
string language_hint = 18;- Returns:
- This builder for chaining.
-
setLanguageHintBytes
The suggested backend language.
string language_hint = 18;- Parameters:
value- The bytes for languageHint to set.- Returns:
- This builder for chaining.
-
getStreamingWorkerMainClass
The streaming worker main class name.
string streaming_worker_main_class = 19;- Specified by:
getStreamingWorkerMainClassin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The streamingWorkerMainClass.
-
getStreamingWorkerMainClassBytes
public com.google.protobuf.ByteString getStreamingWorkerMainClassBytes()The streaming worker main class name.
string streaming_worker_main_class = 19;- Specified by:
getStreamingWorkerMainClassBytesin interfaceTaskRunnerSettingsOrBuilder- Returns:
- The bytes for streamingWorkerMainClass.
-
setStreamingWorkerMainClass
The streaming worker main class name.
string streaming_worker_main_class = 19;- Parameters:
value- The streamingWorkerMainClass to set.- Returns:
- This builder for chaining.
-
clearStreamingWorkerMainClass
The streaming worker main class name.
string streaming_worker_main_class = 19;- Returns:
- This builder for chaining.
-
setStreamingWorkerMainClassBytes
public TaskRunnerSettings.Builder setStreamingWorkerMainClassBytes(com.google.protobuf.ByteString value) The streaming worker main class name.
string streaming_worker_main_class = 19;- Parameters:
value- The bytes for streamingWorkerMainClass to set.- Returns:
- This builder for chaining.
-