diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java index 02db90bad713..98aadc490bbd 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java @@ -68,155 +68,156 @@ * as threads. In the example above, try-with-resources is used, which automatically calls close(). * *
| Method | *Description | *Method Variants | + *|
|---|---|---|---|
| CreateJob | + *CreateJob |
* Create a Job. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| GetJob | + *GetJob |
* Get a Job specified by its resource name. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| DeleteJob | + *DeleteJob |
* Delete a Job. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| ListJobs | + *ListJobs |
* List all Jobs for a project within a region. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| GetTask | + *GetTask |
* Return a single Task. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| ListTasks | + *ListTasks |
* List Tasks associated with a job. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| ListLocations | + *ListLocations |
* Lists information about the supported locations for this service. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
| GetLocation | + *GetLocation |
* Gets information about a location. |
*
* Request object method variants only take one parameter, a request object, which must be constructed before the call. *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. *
|
*
See the individual methods for example code.
diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java
index 923c45f2ff0e..95df8c619079 100644
--- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java
+++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java
@@ -356,6 +356,15 @@ public BatchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -587,7 +596,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -600,7 +608,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -741,6 +748,15 @@ public UnaryCallSettings.Builder CreateJob Create a Job. Request object method variants only take one parameter, a request object, which must be constructed before the call. createJob(CreateJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. createJob(LocationName parent, Job job, String jobId)
+ * createJob(String parent, Job job, String jobId)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. createJobCallable()
* GetJob Get a Job specified by its resource name. Request object method variants only take one parameter, a request object, which must be constructed before the call. getJob(GetJobRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getJob(JobName name)
+ * getJob(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getJobCallable()
* DeleteJob Delete a Job. Request object method variants only take one parameter, a request object, which must be constructed before the call. deleteJobAsync(DeleteJobRequest request)
* Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service. deleteJobAsync(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. deleteJobOperationCallable()
+ * deleteJobCallable()
* ListJobs List all Jobs for a project within a region. Request object method variants only take one parameter, a request object, which must be constructed before the call. listJobs(ListJobsRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listJobs(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listJobsPagedCallable()
+ * listJobsCallable()
* GetTask Return a single Task. Request object method variants only take one parameter, a request object, which must be constructed before the call. getTask(GetTaskRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. getTask(TaskName name)
+ * getTask(String name)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getTaskCallable()
* ListTasks List Tasks associated with a job. Request object method variants only take one parameter, a request object, which must be constructed before the call. listTasks(ListTasksRequest request)
* "Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method. listTasks(TaskGroupName parent)
+ * listTasks(String parent)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listTasksPagedCallable()
+ * listTasksCallable()
* ListLocations Lists information about the supported locations for this service. Request object method variants only take one parameter, a request object, which must be constructed before the call. listLocations(ListLocationsRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. listLocationsPagedCallable()
+ * listLocationsCallable()
* GetLocation Gets information about a location. Request object method variants only take one parameter, a request object, which must be constructed before the call. getLocation(GetLocationRequest request)
* Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service. getLocationCallable()
* See the individual methods for example code.
diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java
index 50eea212259d..e6c77210262e 100644
--- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java
+++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStubSettings.java
@@ -357,6 +357,15 @@ public BatchServiceStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}
+ /** Returns the endpoint set by the user or the the service's default endpoint. */
+ @Override
+ public String getEndpoint() {
+ if (super.getEndpoint() != null) {
+ return super.getEndpoint();
+ }
+ return getDefaultEndpoint();
+ }
+
/** Returns the default service name. */
@Override
public String getServiceName() {
@@ -588,7 +597,6 @@ private static Builder createDefault() {
builder.setTransportChannelProvider(defaultTransportChannelProvider());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -601,7 +609,6 @@ private static Builder createHttpJsonDefault() {
builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build());
builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build());
builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build());
- builder.setEndpoint(getDefaultEndpoint());
builder.setMtlsEndpoint(getDefaultMtlsEndpoint());
builder.setSwitchToMtlsEndpointAllowed(true);
@@ -742,6 +749,15 @@ public UnaryCallSettings.Builder
+ *
*
*
*
* Method
* Description
* Method Variants
+ *
- *
* CreateJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* DeleteJob
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListJobs
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* GetTask
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListTasks
+ *
*
*
*
*
- *
*
- *
*
- *
*
- *
* ListLocations
+ *
*
*
*
*
- *
*
- *
*
- *
- *
* GetLocation
+ *
*
*
*
*
- *
*
- *
*
- * Optional. Deprecated: When true, Batch will use the OS Login generated
- * POSIX account to exeucute the runnables instead of the default root user.
- *
- * To control root or non-root privilege for runnable execution, the project \
- * Admin user needs to configure IAM roles according to
- * https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- * Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- * should be granted to the Batch job submitter. Otherwise,
- * roles/compute.osLogin should be granted to the Batch job submitter.
- *
- *
- * bool enable_oslogin = 13 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- *
- *
- * @deprecated google.cloud.batch.v1alpha.TaskGroup.enable_oslogin is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=710
- * @return The enableOslogin.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public boolean getEnableOslogin() {
- return enableOslogin_;
- }
-
public static final int RUN_AS_NON_ROOT_FIELD_NUMBER = 14;
private boolean runAsNonRoot_ = false;
/**
@@ -877,9 +847,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (permissiveSsh_ != false) {
output.writeBool(12, permissiveSsh_);
}
- if (enableOslogin_ != false) {
- output.writeBool(13, enableOslogin_);
- }
if (runAsNonRoot_ != false) {
output.writeBool(14, runAsNonRoot_);
}
@@ -934,9 +901,6 @@ public int getSerializedSize() {
if (permissiveSsh_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, permissiveSsh_);
}
- if (enableOslogin_ != false) {
- size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, enableOslogin_);
- }
if (runAsNonRoot_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, runAsNonRoot_);
}
@@ -972,7 +936,6 @@ public boolean equals(final java.lang.Object obj) {
if (getTaskCountPerNode() != other.getTaskCountPerNode()) return false;
if (getRequireHostsFile() != other.getRequireHostsFile()) return false;
if (getPermissiveSsh() != other.getPermissiveSsh()) return false;
- if (getEnableOslogin() != other.getEnableOslogin()) return false;
if (getRunAsNonRoot() != other.getRunAsNonRoot()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
@@ -1015,8 +978,6 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireHostsFile());
hash = (37 * hash) + PERMISSIVE_SSH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPermissiveSsh());
- hash = (37 * hash) + ENABLE_OSLOGIN_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableOslogin());
hash = (37 * hash) + RUN_AS_NON_ROOT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunAsNonRoot());
hash = (29 * hash) + getUnknownFields().hashCode();
@@ -1203,7 +1164,6 @@ public Builder clear() {
taskCountPerNode_ = 0L;
requireHostsFile_ = false;
permissiveSsh_ = false;
- enableOslogin_ = false;
runAsNonRoot_ = false;
return this;
}
@@ -1287,9 +1247,6 @@ private void buildPartial0(com.google.cloud.batch.v1alpha.TaskGroup result) {
result.permissiveSsh_ = permissiveSsh_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
- result.enableOslogin_ = enableOslogin_;
- }
- if (((from_bitField0_ & 0x00001000) != 0)) {
result.runAsNonRoot_ = runAsNonRoot_;
}
}
@@ -1397,9 +1354,6 @@ public Builder mergeFrom(com.google.cloud.batch.v1alpha.TaskGroup other) {
if (other.getPermissiveSsh() != false) {
setPermissiveSsh(other.getPermissiveSsh());
}
- if (other.getEnableOslogin() != false) {
- setEnableOslogin(other.getEnableOslogin());
- }
if (other.getRunAsNonRoot() != false) {
setRunAsNonRoot(other.getRunAsNonRoot());
}
@@ -1509,16 +1463,10 @@ public Builder mergeFrom(
bitField0_ |= 0x00000400;
break;
} // case 96
- case 104:
- {
- enableOslogin_ = input.readBool();
- bitField0_ |= 0x00000800;
- break;
- } // case 104
case 112:
{
runAsNonRoot_ = input.readBool();
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00000800;
break;
} // case 112
default:
@@ -3147,95 +3095,6 @@ public Builder clearPermissiveSsh() {
return this;
}
- private boolean enableOslogin_;
- /**
- *
- *
- *
- * Optional. Deprecated: When true, Batch will use the OS Login generated
- * POSIX account to exeucute the runnables instead of the default root user.
- *
- * To control root or non-root privilege for runnable execution, the project \
- * Admin user needs to configure IAM roles according to
- * https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- * Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- * should be granted to the Batch job submitter. Otherwise,
- * roles/compute.osLogin should be granted to the Batch job submitter.
- *
- *
- * bool enable_oslogin = 13 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- *
- *
- * @deprecated google.cloud.batch.v1alpha.TaskGroup.enable_oslogin is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=710
- * @return The enableOslogin.
- */
- @java.lang.Override
- @java.lang.Deprecated
- public boolean getEnableOslogin() {
- return enableOslogin_;
- }
- /**
- *
- *
- *
- * Optional. Deprecated: When true, Batch will use the OS Login generated
- * POSIX account to exeucute the runnables instead of the default root user.
- *
- * To control root or non-root privilege for runnable execution, the project \
- * Admin user needs to configure IAM roles according to
- * https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- * Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- * should be granted to the Batch job submitter. Otherwise,
- * roles/compute.osLogin should be granted to the Batch job submitter.
- *
- *
- * bool enable_oslogin = 13 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- *
- *
- * @deprecated google.cloud.batch.v1alpha.TaskGroup.enable_oslogin is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=710
- * @param value The enableOslogin to set.
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder setEnableOslogin(boolean value) {
-
- enableOslogin_ = value;
- bitField0_ |= 0x00000800;
- onChanged();
- return this;
- }
- /**
- *
- *
- *
- * Optional. Deprecated: When true, Batch will use the OS Login generated
- * POSIX account to exeucute the runnables instead of the default root user.
- *
- * To control root or non-root privilege for runnable execution, the project \
- * Admin user needs to configure IAM roles according to
- * https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- * Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- * should be granted to the Batch job submitter. Otherwise,
- * roles/compute.osLogin should be granted to the Batch job submitter.
- *
- *
- * bool enable_oslogin = 13 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- *
- *
- * @deprecated google.cloud.batch.v1alpha.TaskGroup.enable_oslogin is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=710
- * @return This builder for chaining.
- */
- @java.lang.Deprecated
- public Builder clearEnableOslogin() {
- bitField0_ = (bitField0_ & ~0x00000800);
- enableOslogin_ = false;
- onChanged();
- return this;
- }
-
private boolean runAsNonRoot_;
/**
*
@@ -3273,7 +3132,7 @@ public boolean getRunAsNonRoot() {
public Builder setRunAsNonRoot(boolean value) {
runAsNonRoot_ = value;
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -3292,7 +3151,7 @@ public Builder setRunAsNonRoot(boolean value) {
* @return This builder for chaining.
*/
public Builder clearRunAsNonRoot() {
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00000800);
runAsNonRoot_ = false;
onChanged();
return this;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java
index a7c5cfee177f..97c30eefe099 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java
@@ -409,31 +409,6 @@ java.lang.String getLabelsOrDefault(
*/
boolean getPermissiveSsh();
- /**
- *
- *
- *
- * Optional. Deprecated: When true, Batch will use the OS Login generated
- * POSIX account to exeucute the runnables instead of the default root user.
- *
- * To control root or non-root privilege for runnable execution, the project \
- * Admin user needs to configure IAM roles according to
- * https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- * Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- * should be granted to the Batch job submitter. Otherwise,
- * roles/compute.osLogin should be granted to the Batch job submitter.
- *
- *
- * bool enable_oslogin = 13 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
- *
- *
- * @deprecated google.cloud.batch.v1alpha.TaskGroup.enable_oslogin is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=710
- * @return The enableOslogin.
- */
- @java.lang.Deprecated
- boolean getEnableOslogin();
-
/**
*
*
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
index 1ce48f1acea4..05d0dff3045b 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
@@ -19,6 +19,7 @@ package google.cloud.batch.v1alpha;
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
+import "google/api/field_info.proto";
import "google/api/resource.proto";
import "google/cloud/batch/v1alpha/job.proto";
import "google/cloud/batch/v1alpha/task.proto";
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
index 427dfa59d600..ccec4cf30129 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto
@@ -699,18 +699,6 @@ message TaskGroup {
// VMs running the Batch tasks in the same TaskGroup.
bool permissive_ssh = 12;
- // Optional. Deprecated: When true, Batch will use the OS Login generated
- // POSIX account to exeucute the runnables instead of the default root user.
- //
- // To control root or non-root privilege for runnable execution, the project \
- // Admin user needs to configure IAM roles according to
- // https://cloud.google.com/compute/docs/oslogin/set-up-oslogin#configure_users.
- // Specifically, if a root execution is needed, the roles/compute.osAdminLogin
- // should be granted to the Batch job submitter. Otherwise,
- // roles/compute.osLogin should be granted to the Batch job submitter.
- bool enable_oslogin = 13
- [deprecated = true, (google.api.field_behavior) = OPTIONAL];
-
// Optional. If not set or set to false, Batch will use root user to execute
// runnables. If set to true, Batch will make sure to run the runnables using
// non-root user. Currently, the non-root user Batch used is generated by OS