public static final class TaskSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder> implements TaskSpecOrBuilder
Spec of a taskProtobuf type
google.cloud.batch.v1.TaskSpec| Modifier and Type | Method and Description |
|---|---|
TaskSpec.Builder |
addAllLifecyclePolicies(Iterable<? extends LifecyclePolicy> values)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
addAllRunnables(Iterable<? extends Runnable> values)
Required.
|
TaskSpec.Builder |
addAllVolumes(Iterable<? extends Volume> values)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
addLifecyclePolicies(int index,
LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
addLifecyclePolicies(int index,
LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
addLifecyclePolicies(LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
addLifecyclePolicies(LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed.
|
LifecyclePolicy.Builder |
addLifecyclePoliciesBuilder()
Lifecycle management schema when any task in a task group is failed.
|
LifecyclePolicy.Builder |
addLifecyclePoliciesBuilder(int index)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TaskSpec.Builder |
addRunnables(int index,
Runnable.Builder builderForValue)
Required.
|
TaskSpec.Builder |
addRunnables(int index,
Runnable value)
Required.
|
TaskSpec.Builder |
addRunnables(Runnable.Builder builderForValue)
Required.
|
TaskSpec.Builder |
addRunnables(Runnable value)
Required.
|
Runnable.Builder |
addRunnablesBuilder()
Required.
|
Runnable.Builder |
addRunnablesBuilder(int index)
Required.
|
TaskSpec.Builder |
addVolumes(int index,
Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
addVolumes(int index,
Volume value)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
addVolumes(Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
addVolumes(Volume value)
Volumes to mount before running Tasks using this TaskSpec.
|
Volume.Builder |
addVolumesBuilder()
Volumes to mount before running Tasks using this TaskSpec.
|
Volume.Builder |
addVolumesBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec |
build() |
TaskSpec |
buildPartial() |
TaskSpec.Builder |
clear() |
TaskSpec.Builder |
clearComputeResource()
ComputeResource requirements.
|
TaskSpec.Builder |
clearEnvironment()
Environment variables to set before running the Task.
|
TaskSpec.Builder |
clearEnvironments()
Deprecated.
|
TaskSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TaskSpec.Builder |
clearLifecyclePolicies()
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
clearMaxRetryCount()
Maximum number of retries on failures.
|
TaskSpec.Builder |
clearMaxRunDuration()
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
TaskSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TaskSpec.Builder |
clearRunnables()
Required.
|
TaskSpec.Builder |
clearVolumes()
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
clone() |
boolean |
containsEnvironments(String key)
Deprecated.
|
ComputeResource |
getComputeResource()
ComputeResource requirements.
|
ComputeResource.Builder |
getComputeResourceBuilder()
ComputeResource requirements.
|
ComputeResourceOrBuilder |
getComputeResourceOrBuilder()
ComputeResource requirements.
|
TaskSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Environment |
getEnvironment()
Environment variables to set before running the Task.
|
Environment.Builder |
getEnvironmentBuilder()
Environment variables to set before running the Task.
|
EnvironmentOrBuilder |
getEnvironmentOrBuilder()
Environment variables to set before running the Task.
|
Map<String,String> |
getEnvironments()
Deprecated.
|
int |
getEnvironmentsCount()
Deprecated.
|
Map<String,String> |
getEnvironmentsMap()
Deprecated.
|
String |
getEnvironmentsOrDefault(String key,
String defaultValue)
Deprecated.
|
String |
getEnvironmentsOrThrow(String key)
Deprecated.
|
LifecyclePolicy |
getLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed.
|
LifecyclePolicy.Builder |
getLifecyclePoliciesBuilder(int index)
Lifecycle management schema when any task in a task group is failed.
|
List<LifecyclePolicy.Builder> |
getLifecyclePoliciesBuilderList()
Lifecycle management schema when any task in a task group is failed.
|
int |
getLifecyclePoliciesCount()
Lifecycle management schema when any task in a task group is failed.
|
List<LifecyclePolicy> |
getLifecyclePoliciesList()
Lifecycle management schema when any task in a task group is failed.
|
LifecyclePolicyOrBuilder |
getLifecyclePoliciesOrBuilder(int index)
Lifecycle management schema when any task in a task group is failed.
|
List<? extends LifecyclePolicyOrBuilder> |
getLifecyclePoliciesOrBuilderList()
Lifecycle management schema when any task in a task group is failed.
|
int |
getMaxRetryCount()
Maximum number of retries on failures.
|
com.google.protobuf.Duration |
getMaxRunDuration()
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
com.google.protobuf.Duration.Builder |
getMaxRunDurationBuilder()
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
com.google.protobuf.DurationOrBuilder |
getMaxRunDurationOrBuilder()
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
Map<String,String> |
getMutableEnvironments()
Deprecated.
|
Runnable |
getRunnables(int index)
Required.
|
Runnable.Builder |
getRunnablesBuilder(int index)
Required.
|
List<Runnable.Builder> |
getRunnablesBuilderList()
Required.
|
int |
getRunnablesCount()
Required.
|
List<Runnable> |
getRunnablesList()
Required.
|
RunnableOrBuilder |
getRunnablesOrBuilder(int index)
Required.
|
List<? extends RunnableOrBuilder> |
getRunnablesOrBuilderList()
Required.
|
Volume |
getVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
|
Volume.Builder |
getVolumesBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
|
List<Volume.Builder> |
getVolumesBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
|
int |
getVolumesCount()
Volumes to mount before running Tasks using this TaskSpec.
|
List<Volume> |
getVolumesList()
Volumes to mount before running Tasks using this TaskSpec.
|
VolumeOrBuilder |
getVolumesOrBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
|
List<? extends VolumeOrBuilder> |
getVolumesOrBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
|
boolean |
hasComputeResource()
ComputeResource requirements.
|
boolean |
hasEnvironment()
Environment variables to set before running the Task.
|
boolean |
hasMaxRunDuration()
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
TaskSpec.Builder |
mergeComputeResource(ComputeResource value)
ComputeResource requirements.
|
TaskSpec.Builder |
mergeEnvironment(Environment value)
Environment variables to set before running the Task.
|
TaskSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TaskSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
TaskSpec.Builder |
mergeFrom(TaskSpec other) |
TaskSpec.Builder |
mergeMaxRunDuration(com.google.protobuf.Duration value)
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
TaskSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TaskSpec.Builder |
putAllEnvironments(Map<String,String> values)
Deprecated.
|
TaskSpec.Builder |
putEnvironments(String key,
String value)
Deprecated.
|
TaskSpec.Builder |
removeEnvironments(String key)
Deprecated.
|
TaskSpec.Builder |
removeLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
removeRunnables(int index)
Required.
|
TaskSpec.Builder |
removeVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
setComputeResource(ComputeResource.Builder builderForValue)
ComputeResource requirements.
|
TaskSpec.Builder |
setComputeResource(ComputeResource value)
ComputeResource requirements.
|
TaskSpec.Builder |
setEnvironment(Environment.Builder builderForValue)
Environment variables to set before running the Task.
|
TaskSpec.Builder |
setEnvironment(Environment value)
Environment variables to set before running the Task.
|
TaskSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TaskSpec.Builder |
setLifecyclePolicies(int index,
LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
setLifecyclePolicies(int index,
LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed.
|
TaskSpec.Builder |
setMaxRetryCount(int value)
Maximum number of retries on failures.
|
TaskSpec.Builder |
setMaxRunDuration(com.google.protobuf.Duration.Builder builderForValue)
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
TaskSpec.Builder |
setMaxRunDuration(com.google.protobuf.Duration value)
Maximum duration the task should run before being automatically retried
(if enabled) or automatically failed.
|
TaskSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TaskSpec.Builder |
setRunnables(int index,
Runnable.Builder builderForValue)
Required.
|
TaskSpec.Builder |
setRunnables(int index,
Runnable value)
Required.
|
TaskSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TaskSpec.Builder |
setVolumes(int index,
Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
|
TaskSpec.Builder |
setVolumes(int index,
Volume value)
Volumes to mount before running Tasks using this TaskSpec.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TaskSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TaskSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TaskSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TaskSpec.Builder>public TaskSpec.Builder mergeFrom(TaskSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public TaskSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TaskSpec.Builder>IOExceptionpublic List<Runnable> getRunnablesList()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;getRunnablesList in interface TaskSpecOrBuilderpublic int getRunnablesCount()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;getRunnablesCount in interface TaskSpecOrBuilderpublic Runnable getRunnables(int index)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;getRunnables in interface TaskSpecOrBuilderpublic TaskSpec.Builder setRunnables(int index, Runnable value)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder setRunnables(int index, Runnable.Builder builderForValue)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder addRunnables(Runnable value)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder addRunnables(int index, Runnable value)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder addRunnables(Runnable.Builder builderForValue)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder addRunnables(int index, Runnable.Builder builderForValue)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder addAllRunnables(Iterable<? extends Runnable> values)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder clearRunnables()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public TaskSpec.Builder removeRunnables(int index)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public Runnable.Builder getRunnablesBuilder(int index)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public RunnableOrBuilder getRunnablesOrBuilder(int index)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;getRunnablesOrBuilder in interface TaskSpecOrBuilderpublic List<? extends RunnableOrBuilder> getRunnablesOrBuilderList()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;getRunnablesOrBuilderList in interface TaskSpecOrBuilderpublic Runnable.Builder addRunnablesBuilder()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public Runnable.Builder addRunnablesBuilder(int index)
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public List<Runnable.Builder> getRunnablesBuilderList()
Required. The sequence of one or more runnables (executable scripts, executable containers, and/or barriers) for each task in this task group to run. Each task runs this list of runnables in order. For a task to succeed, all of its script and container runnables each must meet at least one of the following conditions: + The runnable exited with a zero status. + The runnable didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero status, but you enabled its `ignore_exit_status` subfield.
repeated .google.cloud.batch.v1.Runnable runnables = 8;public boolean hasComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;hasComputeResource in interface TaskSpecOrBuilderpublic ComputeResource getComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;getComputeResource in interface TaskSpecOrBuilderpublic TaskSpec.Builder setComputeResource(ComputeResource value)
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;public TaskSpec.Builder setComputeResource(ComputeResource.Builder builderForValue)
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;public TaskSpec.Builder mergeComputeResource(ComputeResource value)
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;public TaskSpec.Builder clearComputeResource()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;public ComputeResource.Builder getComputeResourceBuilder()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;public ComputeResourceOrBuilder getComputeResourceOrBuilder()
ComputeResource requirements.
.google.cloud.batch.v1.ComputeResource compute_resource = 3;getComputeResourceOrBuilder in interface TaskSpecOrBuilderpublic boolean hasMaxRunDuration()
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;hasMaxRunDuration in interface TaskSpecOrBuilderpublic com.google.protobuf.Duration getMaxRunDuration()
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;getMaxRunDuration in interface TaskSpecOrBuilderpublic TaskSpec.Builder setMaxRunDuration(com.google.protobuf.Duration value)
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;public TaskSpec.Builder setMaxRunDuration(com.google.protobuf.Duration.Builder builderForValue)
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;public TaskSpec.Builder mergeMaxRunDuration(com.google.protobuf.Duration value)
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;public TaskSpec.Builder clearMaxRunDuration()
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;public com.google.protobuf.Duration.Builder getMaxRunDurationBuilder()
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;public com.google.protobuf.DurationOrBuilder getMaxRunDurationOrBuilder()
Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.
.google.protobuf.Duration max_run_duration = 4;getMaxRunDurationOrBuilder in interface TaskSpecOrBuilderpublic int getMaxRetryCount()
Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
int32 max_retry_count = 5;getMaxRetryCount in interface TaskSpecOrBuilderpublic TaskSpec.Builder setMaxRetryCount(int value)
Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
int32 max_retry_count = 5;value - The maxRetryCount to set.public TaskSpec.Builder clearMaxRetryCount()
Maximum number of retries on failures. The default, 0, which means never retry. The valid value range is [0, 10].
int32 max_retry_count = 5;public List<LifecyclePolicy> getLifecyclePoliciesList()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;getLifecyclePoliciesList in interface TaskSpecOrBuilderpublic int getLifecyclePoliciesCount()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;getLifecyclePoliciesCount in interface TaskSpecOrBuilderpublic LifecyclePolicy getLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;getLifecyclePolicies in interface TaskSpecOrBuilderpublic TaskSpec.Builder setLifecyclePolicies(int index, LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder setLifecyclePolicies(int index, LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder addLifecyclePolicies(LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder addLifecyclePolicies(int index, LifecyclePolicy value)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder addLifecyclePolicies(LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder addLifecyclePolicies(int index, LifecyclePolicy.Builder builderForValue)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder addAllLifecyclePolicies(Iterable<? extends LifecyclePolicy> values)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder clearLifecyclePolicies()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public TaskSpec.Builder removeLifecyclePolicies(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public LifecyclePolicy.Builder getLifecyclePoliciesBuilder(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public LifecyclePolicyOrBuilder getLifecyclePoliciesOrBuilder(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;getLifecyclePoliciesOrBuilder in interface TaskSpecOrBuilderpublic List<? extends LifecyclePolicyOrBuilder> getLifecyclePoliciesOrBuilderList()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;getLifecyclePoliciesOrBuilderList in interface TaskSpecOrBuilderpublic LifecyclePolicy.Builder addLifecyclePoliciesBuilder()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public LifecyclePolicy.Builder addLifecyclePoliciesBuilder(int index)
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;public List<LifecyclePolicy.Builder> getLifecyclePoliciesBuilderList()
Lifecycle management schema when any task in a task group is failed. Currently we only support one lifecycle policy. When the lifecycle policy condition is met, the action in the policy will execute. If task execution result does not meet with the defined lifecycle policy, we consider it as the default policy. Default policy means if the exit code is 0, exit task. If task ends with non-zero exit code, retry the task with max_retry_count.
repeated .google.cloud.batch.v1.LifecyclePolicy lifecycle_policies = 9;@Deprecated public int getEnvironmentsCount()
TaskSpecOrBuilderDeprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];getEnvironmentsCount in interface TaskSpecOrBuilder@Deprecated public boolean containsEnvironments(String key)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];containsEnvironments in interface TaskSpecOrBuilder@Deprecated public Map<String,String> getEnvironments()
getEnvironmentsMap() instead.getEnvironments in interface TaskSpecOrBuilder@Deprecated public Map<String,String> getEnvironmentsMap()
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];getEnvironmentsMap in interface TaskSpecOrBuilder@Deprecated public String getEnvironmentsOrDefault(String key, String defaultValue)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];getEnvironmentsOrDefault in interface TaskSpecOrBuilder@Deprecated public String getEnvironmentsOrThrow(String key)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];getEnvironmentsOrThrow in interface TaskSpecOrBuilder@Deprecated public TaskSpec.Builder clearEnvironments()
@Deprecated public TaskSpec.Builder removeEnvironments(String key)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];@Deprecated public Map<String,String> getMutableEnvironments()
@Deprecated public TaskSpec.Builder putEnvironments(String key, String value)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];@Deprecated public TaskSpec.Builder putAllEnvironments(Map<String,String> values)
Deprecated: please use environment(non-plural) instead.
map<string, string> environments = 6 [deprecated = true];public List<Volume> getVolumesList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;getVolumesList in interface TaskSpecOrBuilderpublic int getVolumesCount()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;getVolumesCount in interface TaskSpecOrBuilderpublic Volume getVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;getVolumes in interface TaskSpecOrBuilderpublic TaskSpec.Builder setVolumes(int index, Volume value)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder setVolumes(int index, Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder addVolumes(Volume value)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder addVolumes(int index, Volume value)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder addVolumes(Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder addVolumes(int index, Volume.Builder builderForValue)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder addAllVolumes(Iterable<? extends Volume> values)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder clearVolumes()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public TaskSpec.Builder removeVolumes(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public Volume.Builder getVolumesBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public VolumeOrBuilder getVolumesOrBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;getVolumesOrBuilder in interface TaskSpecOrBuilderpublic List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;getVolumesOrBuilderList in interface TaskSpecOrBuilderpublic Volume.Builder addVolumesBuilder()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public Volume.Builder addVolumesBuilder(int index)
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public List<Volume.Builder> getVolumesBuilderList()
Volumes to mount before running Tasks using this TaskSpec.
repeated .google.cloud.batch.v1.Volume volumes = 7;public boolean hasEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;hasEnvironment in interface TaskSpecOrBuilderpublic Environment getEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;getEnvironment in interface TaskSpecOrBuilderpublic TaskSpec.Builder setEnvironment(Environment value)
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;public TaskSpec.Builder setEnvironment(Environment.Builder builderForValue)
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;public TaskSpec.Builder mergeEnvironment(Environment value)
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;public TaskSpec.Builder clearEnvironment()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;public Environment.Builder getEnvironmentBuilder()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;public EnvironmentOrBuilder getEnvironmentOrBuilder()
Environment variables to set before running the Task.
.google.cloud.batch.v1.Environment environment = 10;getEnvironmentOrBuilder in interface TaskSpecOrBuilderpublic final TaskSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>public final TaskSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TaskSpec.Builder>Copyright © 2025 Google LLC. All rights reserved.