public static final class Runnable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder> implements RunnableOrBuilder
Runnable describes instructions for executing a specific script or container as part of a Task.Protobuf type
google.cloud.batch.v1.Runnable| Modifier and Type | Method and Description |
|---|---|
Runnable.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Runnable |
build() |
Runnable |
buildPartial() |
Runnable.Builder |
clear() |
Runnable.Builder |
clearAlwaysRun()
By default, after a Runnable fails, no further Runnable are executed.
|
Runnable.Builder |
clearBackground()
Normally, a runnable that doesn't exit causes its task to fail.
|
Runnable.Builder |
clearBarrier()
Barrier runnable.
|
Runnable.Builder |
clearContainer()
Container runnable.
|
Runnable.Builder |
clearDisplayName()
Optional.
|
Runnable.Builder |
clearEnvironment()
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Runnable.Builder |
clearExecutable() |
Runnable.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Runnable.Builder |
clearIgnoreExitStatus()
Normally, a runnable that returns a non-zero exit status fails and causes
the task to fail.
|
Runnable.Builder |
clearLabels() |
Runnable.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Runnable.Builder |
clearScript()
Script runnable.
|
Runnable.Builder |
clearTimeout()
Timeout for this Runnable.
|
Runnable.Builder |
clone() |
boolean |
containsLabels(String key)
Labels for this Runnable.
|
boolean |
getAlwaysRun()
By default, after a Runnable fails, no further Runnable are executed.
|
boolean |
getBackground()
Normally, a runnable that doesn't exit causes its task to fail.
|
Runnable.Barrier |
getBarrier()
Barrier runnable.
|
Runnable.Barrier.Builder |
getBarrierBuilder()
Barrier runnable.
|
Runnable.BarrierOrBuilder |
getBarrierOrBuilder()
Barrier runnable.
|
Runnable.Container |
getContainer()
Container runnable.
|
Runnable.Container.Builder |
getContainerBuilder()
Container runnable.
|
Runnable.ContainerOrBuilder |
getContainerOrBuilder()
Container runnable.
|
Runnable |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Optional.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Optional.
|
Environment |
getEnvironment()
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Environment.Builder |
getEnvironmentBuilder()
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
EnvironmentOrBuilder |
getEnvironmentOrBuilder()
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Runnable.ExecutableCase |
getExecutableCase() |
boolean |
getIgnoreExitStatus()
Normally, a runnable that returns a non-zero exit status fails and causes
the task to fail.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels for this Runnable.
|
Map<String,String> |
getLabelsMap()
Labels for this Runnable.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels for this Runnable.
|
String |
getLabelsOrThrow(String key)
Labels for this Runnable.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Runnable.Script |
getScript()
Script runnable.
|
Runnable.Script.Builder |
getScriptBuilder()
Script runnable.
|
Runnable.ScriptOrBuilder |
getScriptOrBuilder()
Script runnable.
|
com.google.protobuf.Duration |
getTimeout()
Timeout for this Runnable.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
Timeout for this Runnable.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Timeout for this Runnable.
|
boolean |
hasBarrier()
Barrier runnable.
|
boolean |
hasContainer()
Container runnable.
|
boolean |
hasEnvironment()
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
boolean |
hasScript()
Script runnable.
|
boolean |
hasTimeout()
Timeout for this Runnable.
|
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() |
Runnable.Builder |
mergeBarrier(Runnable.Barrier value)
Barrier runnable.
|
Runnable.Builder |
mergeContainer(Runnable.Container value)
Container runnable.
|
Runnable.Builder |
mergeEnvironment(Environment value)
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Runnable.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Runnable.Builder |
mergeFrom(com.google.protobuf.Message other) |
Runnable.Builder |
mergeFrom(Runnable other) |
Runnable.Builder |
mergeScript(Runnable.Script value)
Script runnable.
|
Runnable.Builder |
mergeTimeout(com.google.protobuf.Duration value)
Timeout for this Runnable.
|
Runnable.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Runnable.Builder |
putAllLabels(Map<String,String> values)
Labels for this Runnable.
|
Runnable.Builder |
putLabels(String key,
String value)
Labels for this Runnable.
|
Runnable.Builder |
removeLabels(String key)
Labels for this Runnable.
|
Runnable.Builder |
setAlwaysRun(boolean value)
By default, after a Runnable fails, no further Runnable are executed.
|
Runnable.Builder |
setBackground(boolean value)
Normally, a runnable that doesn't exit causes its task to fail.
|
Runnable.Builder |
setBarrier(Runnable.Barrier.Builder builderForValue)
Barrier runnable.
|
Runnable.Builder |
setBarrier(Runnable.Barrier value)
Barrier runnable.
|
Runnable.Builder |
setContainer(Runnable.Container.Builder builderForValue)
Container runnable.
|
Runnable.Builder |
setContainer(Runnable.Container value)
Container runnable.
|
Runnable.Builder |
setDisplayName(String value)
Optional.
|
Runnable.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.
|
Runnable.Builder |
setEnvironment(Environment.Builder builderForValue)
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Runnable.Builder |
setEnvironment(Environment value)
Environment variables for this Runnable (overrides variables set for the
whole Task or TaskGroup).
|
Runnable.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Runnable.Builder |
setIgnoreExitStatus(boolean value)
Normally, a runnable that returns a non-zero exit status fails and causes
the task to fail.
|
Runnable.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Runnable.Builder |
setScript(Runnable.Script.Builder builderForValue)
Script runnable.
|
Runnable.Builder |
setScript(Runnable.Script value)
Script runnable.
|
Runnable.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout for this Runnable.
|
Runnable.Builder |
setTimeout(com.google.protobuf.Duration value)
Timeout for this Runnable.
|
Runnable.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<Runnable.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public Runnable.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.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<Runnable.Builder>public Runnable getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Runnable build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Runnable buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Runnable.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public Runnable.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<Runnable.Builder>public Runnable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public Runnable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public Runnable.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<Runnable.Builder>public Runnable.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<Runnable.Builder>public Runnable.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Runnable.Builder>public Runnable.Builder mergeFrom(Runnable other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public Runnable.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<Runnable.Builder>IOExceptionpublic Runnable.ExecutableCase getExecutableCase()
getExecutableCase in interface RunnableOrBuilderpublic Runnable.Builder clearExecutable()
public boolean hasContainer()
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;hasContainer in interface RunnableOrBuilderpublic Runnable.Container getContainer()
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;getContainer in interface RunnableOrBuilderpublic Runnable.Builder setContainer(Runnable.Container value)
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;public Runnable.Builder setContainer(Runnable.Container.Builder builderForValue)
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;public Runnable.Builder mergeContainer(Runnable.Container value)
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;public Runnable.Builder clearContainer()
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;public Runnable.Container.Builder getContainerBuilder()
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;public Runnable.ContainerOrBuilder getContainerOrBuilder()
Container runnable.
.google.cloud.batch.v1.Runnable.Container container = 1;getContainerOrBuilder in interface RunnableOrBuilderpublic boolean hasScript()
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;hasScript in interface RunnableOrBuilderpublic Runnable.Script getScript()
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;getScript in interface RunnableOrBuilderpublic Runnable.Builder setScript(Runnable.Script value)
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;public Runnable.Builder setScript(Runnable.Script.Builder builderForValue)
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;public Runnable.Builder mergeScript(Runnable.Script value)
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;public Runnable.Builder clearScript()
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;public Runnable.Script.Builder getScriptBuilder()
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;public Runnable.ScriptOrBuilder getScriptOrBuilder()
Script runnable.
.google.cloud.batch.v1.Runnable.Script script = 2;getScriptOrBuilder in interface RunnableOrBuilderpublic boolean hasBarrier()
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;hasBarrier in interface RunnableOrBuilderpublic Runnable.Barrier getBarrier()
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;getBarrier in interface RunnableOrBuilderpublic Runnable.Builder setBarrier(Runnable.Barrier value)
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;public Runnable.Builder setBarrier(Runnable.Barrier.Builder builderForValue)
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;public Runnable.Builder mergeBarrier(Runnable.Barrier value)
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;public Runnable.Builder clearBarrier()
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;public Runnable.Barrier.Builder getBarrierBuilder()
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;public Runnable.BarrierOrBuilder getBarrierOrBuilder()
Barrier runnable.
.google.cloud.batch.v1.Runnable.Barrier barrier = 6;getBarrierOrBuilder in interface RunnableOrBuilderpublic String getDisplayName()
Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
string display_name = 10 [(.google.api.field_behavior) = OPTIONAL];getDisplayName in interface RunnableOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
string display_name = 10 [(.google.api.field_behavior) = OPTIONAL];getDisplayNameBytes in interface RunnableOrBuilderpublic Runnable.Builder setDisplayName(String value)
Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
string display_name = 10 [(.google.api.field_behavior) = OPTIONAL];value - The displayName to set.public Runnable.Builder clearDisplayName()
Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
string display_name = 10 [(.google.api.field_behavior) = OPTIONAL];public Runnable.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional. DisplayName is an optional field that can be provided by the caller. If provided, it will be used in logs and other outputs to identify the script, making it easier for users to understand the logs. If not provided the index of the runnable will be used for outputs.
string display_name = 10 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for displayName to set.public boolean getIgnoreExitStatus()
Normally, a runnable that returns a non-zero exit status fails and causes the task to fail. However, you can set this field to `true` to allow the task to continue executing its other runnables even if this runnable fails.
bool ignore_exit_status = 3;getIgnoreExitStatus in interface RunnableOrBuilderpublic Runnable.Builder setIgnoreExitStatus(boolean value)
Normally, a runnable that returns a non-zero exit status fails and causes the task to fail. However, you can set this field to `true` to allow the task to continue executing its other runnables even if this runnable fails.
bool ignore_exit_status = 3;value - The ignoreExitStatus to set.public Runnable.Builder clearIgnoreExitStatus()
Normally, a runnable that returns a non-zero exit status fails and causes the task to fail. However, you can set this field to `true` to allow the task to continue executing its other runnables even if this runnable fails.
bool ignore_exit_status = 3;public boolean getBackground()
Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field to `true` to configure a background runnable. Background runnables are allowed continue running in the background while the task executes subsequent runnables. For example, background runnables are useful for providing services to other runnables or providing debugging-support tools like SSH servers. Specifically, background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as task failures.
bool background = 4;getBackground in interface RunnableOrBuilderpublic Runnable.Builder setBackground(boolean value)
Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field to `true` to configure a background runnable. Background runnables are allowed continue running in the background while the task executes subsequent runnables. For example, background runnables are useful for providing services to other runnables or providing debugging-support tools like SSH servers. Specifically, background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as task failures.
bool background = 4;value - The background to set.public Runnable.Builder clearBackground()
Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field to `true` to configure a background runnable. Background runnables are allowed continue running in the background while the task executes subsequent runnables. For example, background runnables are useful for providing services to other runnables or providing debugging-support tools like SSH servers. Specifically, background runnables are killed automatically (if they have not already exited) a short time after all foreground runnables have completed. Even though this is likely to result in a non-zero exit status for the background runnable, these automatic kills are not treated as task failures.
bool background = 4;public boolean getAlwaysRun()
By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
bool always_run = 5;getAlwaysRun in interface RunnableOrBuilderpublic Runnable.Builder setAlwaysRun(boolean value)
By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
bool always_run = 5;value - The alwaysRun to set.public Runnable.Builder clearAlwaysRun()
By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.
bool always_run = 5;public boolean hasEnvironment()
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;hasEnvironment in interface RunnableOrBuilderpublic Environment getEnvironment()
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;getEnvironment in interface RunnableOrBuilderpublic Runnable.Builder setEnvironment(Environment value)
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;public Runnable.Builder setEnvironment(Environment.Builder builderForValue)
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;public Runnable.Builder mergeEnvironment(Environment value)
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;public Runnable.Builder clearEnvironment()
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;public Environment.Builder getEnvironmentBuilder()
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;public EnvironmentOrBuilder getEnvironmentOrBuilder()
Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).
.google.cloud.batch.v1.Environment environment = 7;getEnvironmentOrBuilder in interface RunnableOrBuilderpublic boolean hasTimeout()
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;hasTimeout in interface RunnableOrBuilderpublic com.google.protobuf.Duration getTimeout()
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;getTimeout in interface RunnableOrBuilderpublic Runnable.Builder setTimeout(com.google.protobuf.Duration value)
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;public Runnable.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;public Runnable.Builder mergeTimeout(com.google.protobuf.Duration value)
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;public Runnable.Builder clearTimeout()
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Timeout for this Runnable.
.google.protobuf.Duration timeout = 8;getTimeoutOrBuilder in interface RunnableOrBuilderpublic int getLabelsCount()
RunnableOrBuilderLabels for this Runnable.
map<string, string> labels = 9;getLabelsCount in interface RunnableOrBuilderpublic boolean containsLabels(String key)
Labels for this Runnable.
map<string, string> labels = 9;containsLabels in interface RunnableOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RunnableOrBuilderpublic Map<String,String> getLabelsMap()
Labels for this Runnable.
map<string, string> labels = 9;getLabelsMap in interface RunnableOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels for this Runnable.
map<string, string> labels = 9;getLabelsOrDefault in interface RunnableOrBuilderpublic String getLabelsOrThrow(String key)
Labels for this Runnable.
map<string, string> labels = 9;getLabelsOrThrow in interface RunnableOrBuilderpublic Runnable.Builder clearLabels()
public Runnable.Builder removeLabels(String key)
Labels for this Runnable.
map<string, string> labels = 9;@Deprecated public Map<String,String> getMutableLabels()
public Runnable.Builder putLabels(String key, String value)
Labels for this Runnable.
map<string, string> labels = 9;public Runnable.Builder putAllLabels(Map<String,String> values)
Labels for this Runnable.
map<string, string> labels = 9;public final Runnable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>public final Runnable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Runnable.Builder>Copyright © 2025 Google LLC. All rights reserved.