public static final class Task.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder> implements TaskOrBuilder
Task represents a single run of a container to completion.Protobuf type
google.cloud.run.v2.Task| Modifier and Type | Method and Description |
|---|---|
Task.Builder |
addAllConditions(Iterable<? extends Condition> values)
Output only.
|
Task.Builder |
addAllContainers(Iterable<? extends Container> values)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
addAllVolumes(Iterable<? extends Volume> values)
A list of Volumes to make available to containers.
|
Task.Builder |
addConditions(Condition.Builder builderForValue)
Output only.
|
Task.Builder |
addConditions(Condition value)
Output only.
|
Task.Builder |
addConditions(int index,
Condition.Builder builderForValue)
Output only.
|
Task.Builder |
addConditions(int index,
Condition value)
Output only.
|
Condition.Builder |
addConditionsBuilder()
Output only.
|
Condition.Builder |
addConditionsBuilder(int index)
Output only.
|
Task.Builder |
addContainers(Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
addContainers(Container value)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
addContainers(int index,
Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
addContainers(int index,
Container value)
Holds the single container that defines the unit of execution for this
task.
|
Container.Builder |
addContainersBuilder()
Holds the single container that defines the unit of execution for this
task.
|
Container.Builder |
addContainersBuilder(int index)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Task.Builder |
addVolumes(int index,
Volume.Builder builderForValue)
A list of Volumes to make available to containers.
|
Task.Builder |
addVolumes(int index,
Volume value)
A list of Volumes to make available to containers.
|
Task.Builder |
addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.
|
Task.Builder |
addVolumes(Volume value)
A list of Volumes to make available to containers.
|
Volume.Builder |
addVolumesBuilder()
A list of Volumes to make available to containers.
|
Volume.Builder |
addVolumesBuilder(int index)
A list of Volumes to make available to containers.
|
Task |
build() |
Task |
buildPartial() |
Task.Builder |
clear() |
Task.Builder |
clearAnnotations() |
Task.Builder |
clearCompletionTime()
Output only.
|
Task.Builder |
clearConditions()
Output only.
|
Task.Builder |
clearContainers()
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
clearCreateTime()
Output only.
|
Task.Builder |
clearDeleteTime()
Output only.
|
Task.Builder |
clearEncryptionKey()
Output only.
|
Task.Builder |
clearEtag()
Output only.
|
Task.Builder |
clearExecution()
Output only.
|
Task.Builder |
clearExecutionEnvironment()
The execution environment being used to host this Task.
|
Task.Builder |
clearExpireTime()
Output only.
|
Task.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Task.Builder |
clearGeneration()
Output only.
|
Task.Builder |
clearIndex()
Output only.
|
Task.Builder |
clearJob()
Output only.
|
Task.Builder |
clearLabels() |
Task.Builder |
clearLastAttemptResult()
Output only.
|
Task.Builder |
clearLogUri()
Output only.
|
Task.Builder |
clearMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
|
Task.Builder |
clearName()
Output only.
|
Task.Builder |
clearNodeSelector()
Output only.
|
Task.Builder |
clearObservedGeneration()
Output only.
|
Task.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Task.Builder |
clearReconciling()
Output only.
|
Task.Builder |
clearRetried()
Output only.
|
Task.Builder |
clearSatisfiesPzs()
Output only.
|
Task.Builder |
clearScheduledTime()
Output only.
|
Task.Builder |
clearServiceAccount()
Email address of the IAM service account associated with the Task of a
Job.
|
Task.Builder |
clearStartTime()
Output only.
|
Task.Builder |
clearTimeout()
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
Task.Builder |
clearUid()
Output only.
|
Task.Builder |
clearUpdateTime()
Output only.
|
Task.Builder |
clearVolumes()
A list of Volumes to make available to containers.
|
Task.Builder |
clearVpcAccess()
Output only.
|
Task.Builder |
clone() |
boolean |
containsAnnotations(String key)
Output only.
|
boolean |
containsLabels(String key)
Output only.
|
Map<String,String> |
getAnnotations()
Deprecated.
|
int |
getAnnotationsCount()
Output only.
|
Map<String,String> |
getAnnotationsMap()
Output only.
|
String |
getAnnotationsOrDefault(String key,
String defaultValue)
Output only.
|
String |
getAnnotationsOrThrow(String key)
Output only.
|
com.google.protobuf.Timestamp |
getCompletionTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCompletionTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCompletionTimeOrBuilder()
Output only.
|
Condition |
getConditions(int index)
Output only.
|
Condition.Builder |
getConditionsBuilder(int index)
Output only.
|
List<Condition.Builder> |
getConditionsBuilderList()
Output only.
|
int |
getConditionsCount()
Output only.
|
List<Condition> |
getConditionsList()
Output only.
|
ConditionOrBuilder |
getConditionsOrBuilder(int index)
Output only.
|
List<? extends ConditionOrBuilder> |
getConditionsOrBuilderList()
Output only.
|
Container |
getContainers(int index)
Holds the single container that defines the unit of execution for this
task.
|
Container.Builder |
getContainersBuilder(int index)
Holds the single container that defines the unit of execution for this
task.
|
List<Container.Builder> |
getContainersBuilderList()
Holds the single container that defines the unit of execution for this
task.
|
int |
getContainersCount()
Holds the single container that defines the unit of execution for this
task.
|
List<Container> |
getContainersList()
Holds the single container that defines the unit of execution for this
task.
|
ContainerOrBuilder |
getContainersOrBuilder(int index)
Holds the single container that defines the unit of execution for this
task.
|
List<? extends ContainerOrBuilder> |
getContainersOrBuilderList()
Holds the single container that defines the unit of execution for this
task.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Task |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEncryptionKey()
Output only.
|
com.google.protobuf.ByteString |
getEncryptionKeyBytes()
Output only.
|
String |
getEtag()
Output only.
|
com.google.protobuf.ByteString |
getEtagBytes()
Output only.
|
String |
getExecution()
Output only.
|
com.google.protobuf.ByteString |
getExecutionBytes()
Output only.
|
ExecutionEnvironment |
getExecutionEnvironment()
The execution environment being used to host this Task.
|
int |
getExecutionEnvironmentValue()
The execution environment being used to host this Task.
|
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
long |
getGeneration()
Output only.
|
int |
getIndex()
Output only.
|
String |
getJob()
Output only.
|
com.google.protobuf.ByteString |
getJobBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Output only.
|
Map<String,String> |
getLabelsMap()
Output only.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Output only.
|
String |
getLabelsOrThrow(String key)
Output only.
|
TaskAttemptResult |
getLastAttemptResult()
Output only.
|
TaskAttemptResult.Builder |
getLastAttemptResultBuilder()
Output only.
|
TaskAttemptResultOrBuilder |
getLastAttemptResultOrBuilder()
Output only.
|
String |
getLogUri()
Output only.
|
com.google.protobuf.ByteString |
getLogUriBytes()
Output only.
|
int |
getMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
|
Map<String,String> |
getMutableAnnotations()
Deprecated.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
NodeSelector |
getNodeSelector()
Output only.
|
NodeSelector.Builder |
getNodeSelectorBuilder()
Output only.
|
NodeSelectorOrBuilder |
getNodeSelectorOrBuilder()
Output only.
|
long |
getObservedGeneration()
Output only.
|
boolean |
getReconciling()
Output only.
|
int |
getRetried()
Output only.
|
boolean |
getSatisfiesPzs()
Output only.
|
com.google.protobuf.Timestamp |
getScheduledTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getScheduledTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getScheduledTimeOrBuilder()
Output only.
|
String |
getServiceAccount()
Email address of the IAM service account associated with the Task of a
Job.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Email address of the IAM service account associated with the Task of a
Job.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
com.google.protobuf.Duration |
getTimeout()
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
String |
getUid()
Output only.
|
com.google.protobuf.ByteString |
getUidBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Volume |
getVolumes(int index)
A list of Volumes to make available to containers.
|
Volume.Builder |
getVolumesBuilder(int index)
A list of Volumes to make available to containers.
|
List<Volume.Builder> |
getVolumesBuilderList()
A list of Volumes to make available to containers.
|
int |
getVolumesCount()
A list of Volumes to make available to containers.
|
List<Volume> |
getVolumesList()
A list of Volumes to make available to containers.
|
VolumeOrBuilder |
getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.
|
List<? extends VolumeOrBuilder> |
getVolumesOrBuilderList()
A list of Volumes to make available to containers.
|
VpcAccess |
getVpcAccess()
Output only.
|
VpcAccess.Builder |
getVpcAccessBuilder()
Output only.
|
VpcAccessOrBuilder |
getVpcAccessOrBuilder()
Output only.
|
boolean |
hasCompletionTime()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
boolean |
hasLastAttemptResult()
Output only.
|
boolean |
hasNodeSelector()
Output only.
|
boolean |
hasScheduledTime()
Output only.
|
boolean |
hasStartTime()
Output only.
|
boolean |
hasTimeout()
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVpcAccess()
Output only.
|
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() |
Task.Builder |
mergeCompletionTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Task.Builder |
mergeFrom(com.google.protobuf.Message other) |
Task.Builder |
mergeFrom(Task other) |
Task.Builder |
mergeLastAttemptResult(TaskAttemptResult value)
Output only.
|
Task.Builder |
mergeNodeSelector(NodeSelector value)
Output only.
|
Task.Builder |
mergeScheduledTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeTimeout(com.google.protobuf.Duration value)
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
Task.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Task.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
mergeVpcAccess(VpcAccess value)
Output only.
|
Task.Builder |
putAllAnnotations(Map<String,String> values)
Output only.
|
Task.Builder |
putAllLabels(Map<String,String> values)
Output only.
|
Task.Builder |
putAnnotations(String key,
String value)
Output only.
|
Task.Builder |
putLabels(String key,
String value)
Output only.
|
Task.Builder |
removeAnnotations(String key)
Output only.
|
Task.Builder |
removeConditions(int index)
Output only.
|
Task.Builder |
removeContainers(int index)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
removeLabels(String key)
Output only.
|
Task.Builder |
removeVolumes(int index)
A list of Volumes to make available to containers.
|
Task.Builder |
setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setCompletionTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setConditions(int index,
Condition.Builder builderForValue)
Output only.
|
Task.Builder |
setConditions(int index,
Condition value)
Output only.
|
Task.Builder |
setContainers(int index,
Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
setContainers(int index,
Container value)
Holds the single container that defines the unit of execution for this
task.
|
Task.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setEncryptionKey(String value)
Output only.
|
Task.Builder |
setEncryptionKeyBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setEtag(String value)
Output only.
|
Task.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setExecution(String value)
Output only.
|
Task.Builder |
setExecutionBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Task.
|
Task.Builder |
setExecutionEnvironmentValue(int value)
The execution environment being used to host this Task.
|
Task.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Task.Builder |
setGeneration(long value)
Output only.
|
Task.Builder |
setIndex(int value)
Output only.
|
Task.Builder |
setJob(String value)
Output only.
|
Task.Builder |
setJobBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setLastAttemptResult(TaskAttemptResult.Builder builderForValue)
Output only.
|
Task.Builder |
setLastAttemptResult(TaskAttemptResult value)
Output only.
|
Task.Builder |
setLogUri(String value)
Output only.
|
Task.Builder |
setLogUriBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setMaxRetries(int value)
Number of retries allowed per Task, before marking this Task failed.
|
Task.Builder |
setName(String value)
Output only.
|
Task.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setNodeSelector(NodeSelector.Builder builderForValue)
Output only.
|
Task.Builder |
setNodeSelector(NodeSelector value)
Output only.
|
Task.Builder |
setObservedGeneration(long value)
Output only.
|
Task.Builder |
setReconciling(boolean value)
Output only.
|
Task.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Task.Builder |
setRetried(int value)
Output only.
|
Task.Builder |
setSatisfiesPzs(boolean value)
Output only.
|
Task.Builder |
setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setScheduledTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setServiceAccount(String value)
Email address of the IAM service account associated with the Task of a
Job.
|
Task.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Email address of the IAM service account associated with the Task of a
Job.
|
Task.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setStartTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
Task.Builder |
setTimeout(com.google.protobuf.Duration value)
Max allowed time duration the Task may be active before the system will
actively try to mark it failed and kill associated containers.
|
Task.Builder |
setUid(String value)
Output only.
|
Task.Builder |
setUidBytes(com.google.protobuf.ByteString value)
Output only.
|
Task.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Task.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Task.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Task.Builder |
setVolumes(int index,
Volume.Builder builderForValue)
A list of Volumes to make available to containers.
|
Task.Builder |
setVolumes(int index,
Volume value)
A list of Volumes to make available to containers.
|
Task.Builder |
setVpcAccess(VpcAccess.Builder builderForValue)
Output only.
|
Task.Builder |
setVpcAccess(VpcAccess value)
Output only.
|
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<Task.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public Task.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Task.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<Task.Builder>public Task getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Task build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Task buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Task.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public Task.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<Task.Builder>public Task.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public Task.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public Task.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<Task.Builder>public Task.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<Task.Builder>public Task.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Task.Builder>public Task.Builder mergeFrom(Task other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public Task.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<Task.Builder>IOExceptionpublic String getName()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface TaskOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface TaskOrBuilderpublic Task.Builder setName(String value)
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Task.Builder clearName()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Task.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getUid()
Output only. Server assigned unique identifier for the Task. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUid in interface TaskOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the Task. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getUidBytes in interface TaskOrBuilderpublic Task.Builder setUid(String value)
Output only. Server assigned unique identifier for the Task. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The uid to set.public Task.Builder clearUid()
Output only. Server assigned unique identifier for the Task. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Task.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server assigned unique identifier for the Task. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for uid to set.public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getGeneration in interface TaskOrBuilderpublic Task.Builder setGeneration(long value)
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The generation to set.public Task.Builder clearGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getLabelsCount()
TaskOrBuilderOutput only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getLabelsCount in interface TaskOrBuilderpublic boolean containsLabels(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsLabels in interface TaskOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface TaskOrBuilderpublic Map<String,String> getLabelsMap()
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsMap in interface TaskOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrDefault in interface TaskOrBuilderpublic String getLabelsOrThrow(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrThrow in interface TaskOrBuilderpublic Task.Builder clearLabels()
public Task.Builder removeLabels(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableLabels()
public Task.Builder putLabels(String key, String value)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder putAllLabels(Map<String,String> values)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getAnnotationsCount()
TaskOrBuilderOutput only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsCount in interface TaskOrBuilderpublic boolean containsAnnotations(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsAnnotations in interface TaskOrBuilder@Deprecated public Map<String,String> getAnnotations()
getAnnotationsMap() instead.getAnnotations in interface TaskOrBuilderpublic Map<String,String> getAnnotationsMap()
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsMap in interface TaskOrBuilderpublic String getAnnotationsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsOrDefault in interface TaskOrBuilderpublic String getAnnotationsOrThrow(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationsOrThrow in interface TaskOrBuilderpublic Task.Builder clearAnnotations()
public Task.Builder removeAnnotations(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableAnnotations()
public Task.Builder putAnnotations(String key, String value)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder putAllAnnotations(Map<String,String> values)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface TaskOrBuilderpublic Task.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearCreateTime()
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Represents time when the task was created by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface TaskOrBuilderpublic boolean hasScheduledTime()
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasScheduledTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getScheduledTime()
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduledTime in interface TaskOrBuilderpublic Task.Builder setScheduledTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setScheduledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeScheduledTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearScheduledTime()
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
Output only. Represents time when the task was scheduled to run by the system. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp scheduled_time = 34 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduledTimeOrBuilder in interface TaskOrBuilderpublic boolean hasStartTime()
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface TaskOrBuilderpublic Task.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearStartTime()
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface TaskOrBuilderpublic boolean hasCompletionTime()
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCompletionTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getCompletionTime()
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompletionTime in interface TaskOrBuilderpublic Task.Builder setCompletionTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeCompletionTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearCompletionTime()
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder()
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder()
Output only. Represents time when the Task was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompletionTimeOrBuilder in interface TaskOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface TaskOrBuilderpublic Task.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface TaskOrBuilderpublic boolean hasDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDeleteTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTime in interface TaskOrBuilderpublic Task.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDeleteTimeOrBuilder in interface TaskOrBuilderpublic boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpireTime in interface TaskOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTime in interface TaskOrBuilderpublic Task.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTimeOrBuilder in interface TaskOrBuilderpublic String getJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getJob in interface TaskOrBuilderpublic com.google.protobuf.ByteString getJobBytes()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getJobBytes in interface TaskOrBuilderpublic Task.Builder setJob(String value)
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The job to set.public Task.Builder clearJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Task.Builder setJobBytes(com.google.protobuf.ByteString value)
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for job to set.public String getExecution()
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getExecution in interface TaskOrBuilderpublic com.google.protobuf.ByteString getExecutionBytes()
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getExecutionBytes in interface TaskOrBuilderpublic Task.Builder setExecution(String value)
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The execution to set.public Task.Builder clearExecution()
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Task.Builder setExecutionBytes(com.google.protobuf.ByteString value)
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for execution to set.public List<Container> getContainersList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;getContainersList in interface TaskOrBuilderpublic int getContainersCount()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;getContainersCount in interface TaskOrBuilderpublic Container getContainers(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;getContainers in interface TaskOrBuilderpublic Task.Builder setContainers(int index, Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder setContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder addContainers(Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder addContainers(int index, Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder addContainers(Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder addContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder addAllContainers(Iterable<? extends Container> values)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder clearContainers()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Task.Builder removeContainers(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Container.Builder getContainersBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public ContainerOrBuilder getContainersOrBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;getContainersOrBuilder in interface TaskOrBuilderpublic List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;getContainersOrBuilderList in interface TaskOrBuilderpublic Container.Builder addContainersBuilder()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public Container.Builder addContainersBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public List<Container.Builder> getContainersBuilderList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;public List<Volume> getVolumesList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;getVolumesList in interface TaskOrBuilderpublic int getVolumesCount()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;getVolumesCount in interface TaskOrBuilderpublic Volume getVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;getVolumes in interface TaskOrBuilderpublic Task.Builder setVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder setVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder addVolumes(Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder addVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder addVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder addAllVolumes(Iterable<? extends Volume> values)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder clearVolumes()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Task.Builder removeVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Volume.Builder getVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public VolumeOrBuilder getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;getVolumesOrBuilder in interface TaskOrBuilderpublic List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;getVolumesOrBuilderList in interface TaskOrBuilderpublic Volume.Builder addVolumesBuilder()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public Volume.Builder addVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public List<Volume.Builder> getVolumesBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;public int getMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;getMaxRetries in interface TaskOrBuilderpublic Task.Builder setMaxRetries(int value)
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;value - The maxRetries to set.public Task.Builder clearMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;public boolean hasTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;hasTimeout in interface TaskOrBuilderpublic com.google.protobuf.Duration getTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;getTimeout in interface TaskOrBuilderpublic Task.Builder setTimeout(com.google.protobuf.Duration value)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;public Task.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;public Task.Builder mergeTimeout(com.google.protobuf.Duration value)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;public Task.Builder clearTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 17;getTimeoutOrBuilder in interface TaskOrBuilderpublic String getServiceAccount()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 18;getServiceAccount in interface TaskOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 18;getServiceAccountBytes in interface TaskOrBuilderpublic Task.Builder setServiceAccount(String value)
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 18;value - The serviceAccount to set.public Task.Builder clearServiceAccount()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 18;public Task.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 18;value - The bytes for serviceAccount to set.public int getExecutionEnvironmentValue()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;getExecutionEnvironmentValue in interface TaskOrBuilderpublic Task.Builder setExecutionEnvironmentValue(int value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;value - The enum numeric value on the wire for executionEnvironment to set.public ExecutionEnvironment getExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;getExecutionEnvironment in interface TaskOrBuilderpublic Task.Builder setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;value - The executionEnvironment to set.public Task.Builder clearExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;public boolean getReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface TaskOrBuilderpublic Task.Builder setReconciling(boolean value)
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public Task.Builder clearReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];public List<Condition> getConditionsList()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionsList in interface TaskOrBuilderpublic int getConditionsCount()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionsCount in interface TaskOrBuilderpublic Condition getConditions(int index)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditions in interface TaskOrBuilderpublic Task.Builder setConditions(int index, Condition value)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder addConditions(Condition value)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder addConditions(int index, Condition value)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder addConditions(Condition.Builder builderForValue)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder addConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder addAllConditions(Iterable<? extends Condition> values)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearConditions()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder removeConditions(int index)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Condition.Builder getConditionsBuilder(int index)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionsOrBuilder in interface TaskOrBuilderpublic List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionsOrBuilderList in interface TaskOrBuilderpublic Condition.Builder addConditionsBuilder()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Condition.Builder addConditionsBuilder(int index)
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Condition.Builder> getConditionsBuilderList()
Output only. The Condition of this Task, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
public long getObservedGeneration()
Output only. The generation of this Task. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];getObservedGeneration in interface TaskOrBuilderpublic Task.Builder setObservedGeneration(long value)
Output only. The generation of this Task. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The observedGeneration to set.public Task.Builder clearObservedGeneration()
Output only. The generation of this Task. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getIndex()
Output only. Index of the Task, unique per execution, and beginning at 0.
int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];getIndex in interface TaskOrBuilderpublic Task.Builder setIndex(int value)
Output only. Index of the Task, unique per execution, and beginning at 0.
int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The index to set.public Task.Builder clearIndex()
Output only. Index of the Task, unique per execution, and beginning at 0.
int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];public int getRetried()
Output only. The number of times this Task was retried. Tasks are retried when they fail up to the maxRetries limit.
int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];getRetried in interface TaskOrBuilderpublic Task.Builder setRetried(int value)
Output only. The number of times this Task was retried. Tasks are retried when they fail up to the maxRetries limit.
int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The retried to set.public Task.Builder clearRetried()
Output only. The number of times this Task was retried. Tasks are retried when they fail up to the maxRetries limit.
int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasLastAttemptResult()
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastAttemptResult in interface TaskOrBuilderpublic TaskAttemptResult getLastAttemptResult()
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastAttemptResult in interface TaskOrBuilderpublic Task.Builder setLastAttemptResult(TaskAttemptResult value)
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setLastAttemptResult(TaskAttemptResult.Builder builderForValue)
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeLastAttemptResult(TaskAttemptResult value)
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearLastAttemptResult()
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TaskAttemptResult.Builder getLastAttemptResultBuilder()
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TaskAttemptResultOrBuilder getLastAttemptResultOrBuilder()
Output only. Result of the last attempt of this Task.
.google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastAttemptResultOrBuilder in interface TaskOrBuilderpublic String getEncryptionKey()
Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getEncryptionKey in interface TaskOrBuilderpublic com.google.protobuf.ByteString getEncryptionKeyBytes()
Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getEncryptionKeyBytes in interface TaskOrBuilderpublic Task.Builder setEncryptionKey(String value)
Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The encryptionKey to set.public Task.Builder clearEncryptionKey()
Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
public Task.Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value)
Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
value - The bytes for encryptionKey to set.public boolean hasVpcAccess()
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasVpcAccess in interface TaskOrBuilderpublic VpcAccess getVpcAccess()
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVpcAccess in interface TaskOrBuilderpublic Task.Builder setVpcAccess(VpcAccess value)
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setVpcAccess(VpcAccess.Builder builderForValue)
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeVpcAccess(VpcAccess value)
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearVpcAccess()
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VpcAccess.Builder getVpcAccessBuilder()
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
public VpcAccessOrBuilder getVpcAccessOrBuilder()
Output only. VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVpcAccessOrBuilder in interface TaskOrBuilderpublic String getLogUri()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];getLogUri in interface TaskOrBuilderpublic com.google.protobuf.ByteString getLogUriBytes()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];getLogUriBytes in interface TaskOrBuilderpublic Task.Builder setLogUri(String value)
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The logUri to set.public Task.Builder clearLogUri()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];public Task.Builder setLogUriBytes(com.google.protobuf.ByteString value)
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for logUri to set.public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];getSatisfiesPzs in interface TaskOrBuilderpublic Task.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The satisfiesPzs to set.public Task.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];public boolean hasNodeSelector()
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasNodeSelector in interface TaskOrBuilderpublic NodeSelector getNodeSelector()
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodeSelector in interface TaskOrBuilderpublic Task.Builder setNodeSelector(NodeSelector value)
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder setNodeSelector(NodeSelector.Builder builderForValue)
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder mergeNodeSelector(NodeSelector value)
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Task.Builder clearNodeSelector()
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeSelector.Builder getNodeSelectorBuilder()
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeSelectorOrBuilder getNodeSelectorOrBuilder()
Output only. The node selector for the task.
.google.cloud.run.v2.NodeSelector node_selector = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
getNodeSelectorOrBuilder in interface TaskOrBuilderpublic String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtag in interface TaskOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];getEtagBytes in interface TaskOrBuilderpublic Task.Builder setEtag(String value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The etag to set.public Task.Builder clearEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];public Task.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for etag to set.public final Task.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>public final Task.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>Copyright © 2025 Google LLC. All rights reserved.