Package com.google.cloud.run.v2
Class Task.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
- com.google.cloud.run.v2.Task.Builder
-
- All Implemented Interfaces:
TaskOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Task
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 typegoogle.cloud.run.v2.Task
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Task.BuilderaddAllConditions(Iterable<? extends Condition> values)Output only.Task.BuilderaddAllContainers(Iterable<? extends Container> values)Holds the single container that defines the unit of execution for this task.Task.BuilderaddAllVolumes(Iterable<? extends Volume> values)A list of Volumes to make available to containers.Task.BuilderaddConditions(int index, Condition value)Output only.Task.BuilderaddConditions(int index, Condition.Builder builderForValue)Output only.Task.BuilderaddConditions(Condition value)Output only.Task.BuilderaddConditions(Condition.Builder builderForValue)Output only.Condition.BuilderaddConditionsBuilder()Output only.Condition.BuilderaddConditionsBuilder(int index)Output only.Task.BuilderaddContainers(int index, Container value)Holds the single container that defines the unit of execution for this task.Task.BuilderaddContainers(int index, Container.Builder builderForValue)Holds the single container that defines the unit of execution for this task.Task.BuilderaddContainers(Container value)Holds the single container that defines the unit of execution for this task.Task.BuilderaddContainers(Container.Builder builderForValue)Holds the single container that defines the unit of execution for this task.Container.BuilderaddContainersBuilder()Holds the single container that defines the unit of execution for this task.Container.BuilderaddContainersBuilder(int index)Holds the single container that defines the unit of execution for this task.Task.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Task.BuilderaddVolumes(int index, Volume value)A list of Volumes to make available to containers.Task.BuilderaddVolumes(int index, Volume.Builder builderForValue)A list of Volumes to make available to containers.Task.BuilderaddVolumes(Volume value)A list of Volumes to make available to containers.Task.BuilderaddVolumes(Volume.Builder builderForValue)A list of Volumes to make available to containers.Volume.BuilderaddVolumesBuilder()A list of Volumes to make available to containers.Volume.BuilderaddVolumesBuilder(int index)A list of Volumes to make available to containers.Taskbuild()TaskbuildPartial()Task.Builderclear()Task.BuilderclearAnnotations()Task.BuilderclearCompletionTime()Output only.Task.BuilderclearConditions()Output only.Task.BuilderclearContainers()Holds the single container that defines the unit of execution for this task.Task.BuilderclearCreateTime()Output only.Task.BuilderclearDeleteTime()Output only.Task.BuilderclearEncryptionKey()Output only.Task.BuilderclearEtag()Output only.Task.BuilderclearExecution()Output only.Task.BuilderclearExecutionEnvironment()The execution environment being used to host this Task.Task.BuilderclearExpireTime()Output only.Task.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Task.BuilderclearGeneration()Output only.Task.BuilderclearIndex()Output only.Task.BuilderclearJob()Output only.Task.BuilderclearLabels()Task.BuilderclearLastAttemptResult()Output only.Task.BuilderclearLogUri()Output only.Task.BuilderclearMaxRetries()Number of retries allowed per Task, before marking this Task failed.Task.BuilderclearName()Output only.Task.BuilderclearObservedGeneration()Output only.Task.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Task.BuilderclearReconciling()Output only.Task.BuilderclearRetried()Output only.Task.BuilderclearSatisfiesPzs()Output only.Task.BuilderclearServiceAccount()Email address of the IAM service account associated with the Task of a Job.Task.BuilderclearStartTime()Output only.Task.BuilderclearTimeout()Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers.Task.BuilderclearUid()Output only.Task.BuilderclearUpdateTime()Output only.Task.BuilderclearVolumes()A list of Volumes to make available to containers.Task.BuilderclearVpcAccess()Output only.Task.Builderclone()booleancontainsAnnotations(String key)Output only.booleancontainsLabels(String key)Output only.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Output only.Map<String,String>getAnnotationsMap()Output only.StringgetAnnotationsOrDefault(String key, String defaultValue)Output only.StringgetAnnotationsOrThrow(String key)Output only.com.google.protobuf.TimestampgetCompletionTime()Output only.com.google.protobuf.Timestamp.BuildergetCompletionTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCompletionTimeOrBuilder()Output only.ConditiongetConditions(int index)Output only.Condition.BuildergetConditionsBuilder(int index)Output only.List<Condition.Builder>getConditionsBuilderList()Output only.intgetConditionsCount()Output only.List<Condition>getConditionsList()Output only.ConditionOrBuildergetConditionsOrBuilder(int index)Output only.List<? extends ConditionOrBuilder>getConditionsOrBuilderList()Output only.ContainergetContainers(int index)Holds the single container that defines the unit of execution for this task.Container.BuildergetContainersBuilder(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.intgetContainersCount()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.ContainerOrBuildergetContainersOrBuilder(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.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.TaskgetDefaultInstanceForType()com.google.protobuf.TimestampgetDeleteTime()Output only.com.google.protobuf.Timestamp.BuildergetDeleteTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetDeleteTimeOrBuilder()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEncryptionKey()Output only.com.google.protobuf.ByteStringgetEncryptionKeyBytes()Output only.StringgetEtag()Output only.com.google.protobuf.ByteStringgetEtagBytes()Output only.StringgetExecution()Output only.com.google.protobuf.ByteStringgetExecutionBytes()Output only.ExecutionEnvironmentgetExecutionEnvironment()The execution environment being used to host this Task.intgetExecutionEnvironmentValue()The execution environment being used to host this Task.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.Timestamp.BuildergetExpireTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.longgetGeneration()Output only.intgetIndex()Output only.StringgetJob()Output only.com.google.protobuf.ByteStringgetJobBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Output only.Map<String,String>getLabelsMap()Output only.StringgetLabelsOrDefault(String key, String defaultValue)Output only.StringgetLabelsOrThrow(String key)Output only.TaskAttemptResultgetLastAttemptResult()Output only.TaskAttemptResult.BuildergetLastAttemptResultBuilder()Output only.TaskAttemptResultOrBuildergetLastAttemptResultOrBuilder()Output only.StringgetLogUri()Output only.com.google.protobuf.ByteStringgetLogUriBytes()Output only.intgetMaxRetries()Number of retries allowed per Task, before marking this Task failed.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.longgetObservedGeneration()Output only.booleangetReconciling()Output only.intgetRetried()Output only.booleangetSatisfiesPzs()Output only.StringgetServiceAccount()Email address of the IAM service account associated with the Task of a Job.com.google.protobuf.ByteStringgetServiceAccountBytes()Email address of the IAM service account associated with the Task of a Job.com.google.protobuf.TimestampgetStartTime()Output only.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Output only.com.google.protobuf.DurationgetTimeout()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.BuildergetTimeoutBuilder()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.DurationOrBuildergetTimeoutOrBuilder()Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VolumegetVolumes(int index)A list of Volumes to make available to containers.Volume.BuildergetVolumesBuilder(int index)A list of Volumes to make available to containers.List<Volume.Builder>getVolumesBuilderList()A list of Volumes to make available to containers.intgetVolumesCount()A list of Volumes to make available to containers.List<Volume>getVolumesList()A list of Volumes to make available to containers.VolumeOrBuildergetVolumesOrBuilder(int index)A list of Volumes to make available to containers.List<? extends VolumeOrBuilder>getVolumesOrBuilderList()A list of Volumes to make available to containers.VpcAccessgetVpcAccess()Output only.VpcAccess.BuildergetVpcAccessBuilder()Output only.VpcAccessOrBuildergetVpcAccessOrBuilder()Output only.booleanhasCompletionTime()Output only.booleanhasCreateTime()Output only.booleanhasDeleteTime()Output only.booleanhasExpireTime()Output only.booleanhasLastAttemptResult()Output only.booleanhasStartTime()Output only.booleanhasTimeout()Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers.booleanhasUpdateTime()Output only.booleanhasVpcAccess()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Task.BuildermergeCompletionTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeDeleteTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeExpireTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeFrom(Task other)Task.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Task.BuildermergeFrom(com.google.protobuf.Message other)Task.BuildermergeLastAttemptResult(TaskAttemptResult value)Output only.Task.BuildermergeStartTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeTimeout(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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Task.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Task.BuildermergeVpcAccess(VpcAccess value)Output only.Task.BuilderputAllAnnotations(Map<String,String> values)Output only.Task.BuilderputAllLabels(Map<String,String> values)Output only.Task.BuilderputAnnotations(String key, String value)Output only.Task.BuilderputLabels(String key, String value)Output only.Task.BuilderremoveAnnotations(String key)Output only.Task.BuilderremoveConditions(int index)Output only.Task.BuilderremoveContainers(int index)Holds the single container that defines the unit of execution for this task.Task.BuilderremoveLabels(String key)Output only.Task.BuilderremoveVolumes(int index)A list of Volumes to make available to containers.Task.BuildersetCompletionTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetConditions(int index, Condition value)Output only.Task.BuildersetConditions(int index, Condition.Builder builderForValue)Output only.Task.BuildersetContainers(int index, Container value)Holds the single container that defines the unit of execution for this task.Task.BuildersetContainers(int index, Container.Builder builderForValue)Holds the single container that defines the unit of execution for this task.Task.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetDeleteTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetEncryptionKey(String value)Output only.Task.BuildersetEncryptionKeyBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetEtag(String value)Output only.Task.BuildersetEtagBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetExecution(String value)Output only.Task.BuildersetExecutionBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetExecutionEnvironment(ExecutionEnvironment value)The execution environment being used to host this Task.Task.BuildersetExecutionEnvironmentValue(int value)The execution environment being used to host this Task.Task.BuildersetExpireTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Task.BuildersetGeneration(long value)Output only.Task.BuildersetIndex(int value)Output only.Task.BuildersetJob(String value)Output only.Task.BuildersetJobBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetLastAttemptResult(TaskAttemptResult value)Output only.Task.BuildersetLastAttemptResult(TaskAttemptResult.Builder builderForValue)Output only.Task.BuildersetLogUri(String value)Output only.Task.BuildersetLogUriBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetMaxRetries(int value)Number of retries allowed per Task, before marking this Task failed.Task.BuildersetName(String value)Output only.Task.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetObservedGeneration(long value)Output only.Task.BuildersetReconciling(boolean value)Output only.Task.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Task.BuildersetRetried(int value)Output only.Task.BuildersetSatisfiesPzs(boolean value)Output only.Task.BuildersetServiceAccount(String value)Email address of the IAM service account associated with the Task of a Job.Task.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)Email address of the IAM service account associated with the Task of a Job.Task.BuildersetStartTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetTimeout(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.BuildersetTimeout(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.BuildersetUid(String value)Output only.Task.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Task.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Task.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Task.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Task.BuildersetVolumes(int index, Volume value)A list of Volumes to make available to containers.Task.BuildersetVolumes(int index, Volume.Builder builderForValue)A list of Volumes to make available to containers.Task.BuildersetVpcAccess(VpcAccess value)Output only.Task.BuildersetVpcAccess(VpcAccess.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clear
public Task.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
getDefaultInstanceForType
public Task getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Task build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Task buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Task.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
setField
public Task.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clearField
public Task.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clearOneof
public Task.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
setRepeatedField
public Task.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
addRepeatedField
public Task.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
mergeFrom
public Task.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Task.Builder>
-
mergeFrom
public Task.Builder mergeFrom(Task other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
mergeFrom
public Task.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Task.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceTaskOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceTaskOrBuilder- Returns:
- The bytes for name.
-
setName
public Task.Builder setName(String value)
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Task.Builder clearName()
Output only. The unique name of this Task.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
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];- Specified by:
getUidin interfaceTaskOrBuilder- Returns:
- The uid.
-
getUidBytes
public 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];- Specified by:
getUidBytesin interfaceTaskOrBuilder- Returns:
- The bytes for uid.
-
setUid
public 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];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
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];- Returns:
- This builder for chaining.
-
setUidBytes
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];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getGeneration
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];- Specified by:
getGenerationin interfaceTaskOrBuilder- Returns:
- The generation.
-
setGeneration
public 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];- Parameters:
value- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
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];- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface: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];- Specified by:
getLabelsCountin interfaceTaskOrBuilder
-
containsLabels
public 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];- Specified by:
containsLabelsin interfaceTaskOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceTaskOrBuilder
-
getLabelsMap
public 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];- Specified by:
getLabelsMapin interfaceTaskOrBuilder
-
getLabelsOrDefault
public 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];- Specified by:
getLabelsOrDefaultin interfaceTaskOrBuilder
-
getLabelsOrThrow
public 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];- Specified by:
getLabelsOrThrowin interfaceTaskOrBuilder
-
clearLabels
public Task.Builder clearLabels()
-
removeLabels
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];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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];
-
putAllLabels
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];
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface: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];- Specified by:
getAnnotationsCountin interfaceTaskOrBuilder
-
containsAnnotations
public 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];- Specified by:
containsAnnotationsin interfaceTaskOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceTaskOrBuilder
-
getAnnotationsMap
public 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];- Specified by:
getAnnotationsMapin interfaceTaskOrBuilder
-
getAnnotationsOrDefault
public 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];- Specified by:
getAnnotationsOrDefaultin interfaceTaskOrBuilder
-
getAnnotationsOrThrow
public 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];- Specified by:
getAnnotationsOrThrowin interfaceTaskOrBuilder
-
clearAnnotations
public Task.Builder clearAnnotations()
-
removeAnnotations
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];
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
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];
-
putAllAnnotations
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];
-
hasCreateTime
public boolean hasCreateTime()
Output only. Represents time when the task was created by the job controller. 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];- Specified by:
hasCreateTimein interfaceTaskOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Represents time when the task was created by the job controller. 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];- Specified by:
getCreateTimein interfaceTaskOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Task.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was created by the job controller. 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];
-
setCreateTime
public Task.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the task was created by the job controller. 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];
-
mergeCreateTime
public Task.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the task was created by the job controller. 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];
-
clearCreateTime
public Task.Builder clearCreateTime()
Output only. Represents time when the task was created by the job controller. 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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Represents time when the task was created by the job controller. 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
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Represents time when the task was created by the job controller. 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];- Specified by:
getCreateTimeOrBuilderin interfaceTaskOrBuilder
-
hasStartTime
public 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];- Specified by:
hasStartTimein interfaceTaskOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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];- Specified by:
getStartTimein interfaceTaskOrBuilder- Returns:
- The startTime.
-
setStartTime
public 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];
-
setStartTime
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];
-
mergeStartTime
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];
-
clearStartTime
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];
-
getStartTimeBuilder
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];
-
getStartTimeOrBuilder
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];- Specified by:
getStartTimeOrBuilderin interfaceTaskOrBuilder
-
hasCompletionTime
public 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];- Specified by:
hasCompletionTimein interfaceTaskOrBuilder- Returns:
- Whether the completionTime field is set.
-
getCompletionTime
public 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];- Specified by:
getCompletionTimein interfaceTaskOrBuilder- Returns:
- The completionTime.
-
setCompletionTime
public 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];
-
setCompletionTime
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];
-
mergeCompletionTime
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];
-
clearCompletionTime
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];
-
getCompletionTimeBuilder
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];
-
getCompletionTimeOrBuilder
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];- Specified by:
getCompletionTimeOrBuilderin interfaceTaskOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTaskOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTaskOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
public Task.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTaskOrBuilder
-
hasDeleteTime
public 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];- Specified by:
hasDeleteTimein interfaceTaskOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public 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];- Specified by:
getDeleteTimein interfaceTaskOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
public 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];
-
setDeleteTime
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];
-
mergeDeleteTime
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];
-
clearDeleteTime
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];
-
getDeleteTimeBuilder
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];
-
getDeleteTimeOrBuilder
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];- Specified by:
getDeleteTimeOrBuilderin interfaceTaskOrBuilder
-
hasExpireTime
public 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];- Specified by:
hasExpireTimein interfaceTaskOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public 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];- Specified by:
getExpireTimein interfaceTaskOrBuilder- Returns:
- The expireTime.
-
setExpireTime
public 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];
-
setExpireTime
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];
-
mergeExpireTime
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];
-
clearExpireTime
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];
-
getExpireTimeBuilder
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];
-
getExpireTimeOrBuilder
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];- Specified by:
getExpireTimeOrBuilderin interfaceTaskOrBuilder
-
getJob
public String getJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getJobin interfaceTaskOrBuilder- Returns:
- The job.
-
getJobBytes
public 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) = { ... }- Specified by:
getJobBytesin interfaceTaskOrBuilder- Returns:
- The bytes for job.
-
setJob
public 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) = { ... }- Parameters:
value- The job to set.- Returns:
- This builder for chaining.
-
clearJob
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) = { ... }- Returns:
- This builder for chaining.
-
setJobBytes
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) = { ... }- Parameters:
value- The bytes for job to set.- Returns:
- This builder for chaining.
-
getExecution
public String getExecution()
Output only. The name of the parent Execution.
string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getExecutionin interfaceTaskOrBuilder- Returns:
- The execution.
-
getExecutionBytes
public 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) = { ... }- Specified by:
getExecutionBytesin interfaceTaskOrBuilder- Returns:
- The bytes for execution.
-
setExecution
public 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) = { ... }- Parameters:
value- The execution to set.- Returns:
- This builder for chaining.
-
clearExecution
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) = { ... }- Returns:
- This builder for chaining.
-
setExecutionBytes
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) = { ... }- Parameters:
value- The bytes for execution to set.- Returns:
- This builder for chaining.
-
getContainersList
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;- Specified by:
getContainersListin interfaceTaskOrBuilder
-
getContainersCount
public int getContainersCount()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;- Specified by:
getContainersCountin interfaceTaskOrBuilder
-
getContainers
public 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;- Specified by:
getContainersin interfaceTaskOrBuilder
-
setContainers
public 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;
-
setContainers
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;
-
addContainers
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;
-
addContainers
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;
-
addContainers
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;
-
addContainers
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;
-
addAllContainers
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;
-
clearContainers
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;
-
removeContainers
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;
-
getContainersBuilder
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;
-
getContainersOrBuilder
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;- Specified by:
getContainersOrBuilderin interfaceTaskOrBuilder
-
getContainersOrBuilderList
public 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;- Specified by:
getContainersOrBuilderListin interfaceTaskOrBuilder
-
addContainersBuilder
public Container.Builder addContainersBuilder()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 14;
-
addContainersBuilder
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;
-
getContainersBuilderList
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;
-
getVolumesList
public List<Volume> getVolumesList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;- Specified by:
getVolumesListin interfaceTaskOrBuilder
-
getVolumesCount
public int getVolumesCount()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;- Specified by:
getVolumesCountin interfaceTaskOrBuilder
-
getVolumes
public Volume getVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;- Specified by:
getVolumesin interfaceTaskOrBuilder
-
setVolumes
public Task.Builder setVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
setVolumes
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;
-
addVolumes
public Task.Builder addVolumes(Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
addVolumes
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;
-
addVolumes
public Task.Builder addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
addVolumes
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;
-
addAllVolumes
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;
-
clearVolumes
public Task.Builder clearVolumes()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
removeVolumes
public Task.Builder removeVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
getVolumesBuilder
public Volume.Builder getVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
getVolumesOrBuilder
public VolumeOrBuilder getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;- Specified by:
getVolumesOrBuilderin interfaceTaskOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;- Specified by:
getVolumesOrBuilderListin interfaceTaskOrBuilder
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
getVolumesBuilderList
public List<Volume.Builder> getVolumesBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
-
getMaxRetries
public int getMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;- Specified by:
getMaxRetriesin interfaceTaskOrBuilder- Returns:
- The maxRetries.
-
setMaxRetries
public Task.Builder setMaxRetries(int value)
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;- Parameters:
value- The maxRetries to set.- Returns:
- This builder for chaining.
-
clearMaxRetries
public Task.Builder clearMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 16;- Returns:
- This builder for chaining.
-
hasTimeout
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;- Specified by:
hasTimeoutin interfaceTaskOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public 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;- Specified by:
getTimeoutin interfaceTaskOrBuilder- Returns:
- The timeout.
-
setTimeout
public 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;
-
setTimeout
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;
-
mergeTimeout
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;
-
clearTimeout
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;
-
getTimeoutBuilder
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;
-
getTimeoutOrBuilder
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;- Specified by:
getTimeoutOrBuilderin interfaceTaskOrBuilder
-
getServiceAccount
public 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;- Specified by:
getServiceAccountin interfaceTaskOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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;- Specified by:
getServiceAccountBytesin interfaceTaskOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public 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;- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
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;- Returns:
- This builder for chaining.
-
setServiceAccountBytes
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;- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getExecutionEnvironmentValue
public int getExecutionEnvironmentValue()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;- Specified by:
getExecutionEnvironmentValuein interfaceTaskOrBuilder- Returns:
- The enum numeric value on the wire for executionEnvironment.
-
setExecutionEnvironmentValue
public Task.Builder setExecutionEnvironmentValue(int value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;- Parameters:
value- The enum numeric value on the wire for executionEnvironment to set.- Returns:
- This builder for chaining.
-
getExecutionEnvironment
public ExecutionEnvironment getExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;- Specified by:
getExecutionEnvironmentin interfaceTaskOrBuilder- Returns:
- The executionEnvironment.
-
setExecutionEnvironment
public Task.Builder setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;- Parameters:
value- The executionEnvironment to set.- Returns:
- This builder for chaining.
-
clearExecutionEnvironment
public Task.Builder clearExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;- Returns:
- This builder for chaining.
-
getReconciling
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];- Specified by:
getReconcilingin interfaceTaskOrBuilder- Returns:
- The reconciling.
-
setReconciling
public 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];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
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];- Returns:
- This builder for chaining.
-
getConditionsList
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];- Specified by:
getConditionsListin interfaceTaskOrBuilder
-
getConditionsCount
public 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];- Specified by:
getConditionsCountin interfaceTaskOrBuilder
-
getConditions
public 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];- Specified by:
getConditionsin interfaceTaskOrBuilder
-
setConditions
public 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];
-
setConditions
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];
-
addConditions
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];
-
addConditions
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];
-
addConditions
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];
-
addConditions
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];
-
addAllConditions
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];
-
clearConditions
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];
-
removeConditions
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];
-
getConditionsBuilder
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];
-
getConditionsOrBuilder
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];- Specified by:
getConditionsOrBuilderin interfaceTaskOrBuilder
-
getConditionsOrBuilderList
public 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];- Specified by:
getConditionsOrBuilderListin interfaceTaskOrBuilder
-
addConditionsBuilder
public 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];
-
addConditionsBuilder
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];
-
getConditionsBuilderList
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];
-
getObservedGeneration
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];- Specified by:
getObservedGenerationin interfaceTaskOrBuilder- Returns:
- The observedGeneration.
-
setObservedGeneration
public 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];- Parameters:
value- The observedGeneration to set.- Returns:
- This builder for chaining.
-
clearObservedGeneration
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];- Returns:
- This builder for chaining.
-
getIndex
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];- Specified by:
getIndexin interfaceTaskOrBuilder- Returns:
- The index.
-
setIndex
public 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];- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
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];- Returns:
- This builder for chaining.
-
getRetried
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];- Specified by:
getRetriedin interfaceTaskOrBuilder- Returns:
- The retried.
-
setRetried
public 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];- Parameters:
value- The retried to set.- Returns:
- This builder for chaining.
-
clearRetried
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];- Returns:
- This builder for chaining.
-
hasLastAttemptResult
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];- Specified by:
hasLastAttemptResultin interfaceTaskOrBuilder- Returns:
- Whether the lastAttemptResult field is set.
-
getLastAttemptResult
public 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];- Specified by:
getLastAttemptResultin interfaceTaskOrBuilder- Returns:
- The lastAttemptResult.
-
setLastAttemptResult
public 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];
-
setLastAttemptResult
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];
-
mergeLastAttemptResult
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];
-
clearLastAttemptResult
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];
-
getLastAttemptResultBuilder
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];
-
getLastAttemptResultOrBuilder
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];- Specified by:
getLastAttemptResultOrBuilderin interfaceTaskOrBuilder
-
getEncryptionKey
public 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) = { ... }- Specified by:
getEncryptionKeyin interfaceTaskOrBuilder- Returns:
- The encryptionKey.
-
getEncryptionKeyBytes
public 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) = { ... }- Specified by:
getEncryptionKeyBytesin interfaceTaskOrBuilder- Returns:
- The bytes for encryptionKey.
-
setEncryptionKey
public 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) = { ... }- Parameters:
value- The encryptionKey to set.- Returns:
- This builder for chaining.
-
clearEncryptionKey
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) = { ... }- Returns:
- This builder for chaining.
-
setEncryptionKeyBytes
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) = { ... }- Parameters:
value- The bytes for encryptionKey to set.- Returns:
- This builder for chaining.
-
hasVpcAccess
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];- Specified by:
hasVpcAccessin interfaceTaskOrBuilder- Returns:
- Whether the vpcAccess field is set.
-
getVpcAccess
public 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];- Specified by:
getVpcAccessin interfaceTaskOrBuilder- Returns:
- The vpcAccess.
-
setVpcAccess
public 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];
-
setVpcAccess
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];
-
mergeVpcAccess
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];
-
clearVpcAccess
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];
-
getVpcAccessBuilder
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];
-
getVpcAccessOrBuilder
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];- Specified by:
getVpcAccessOrBuilderin interfaceTaskOrBuilder
-
getLogUri
public 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];- Specified by:
getLogUriin interfaceTaskOrBuilder- Returns:
- The logUri.
-
getLogUriBytes
public 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];- Specified by:
getLogUriBytesin interfaceTaskOrBuilder- Returns:
- The bytes for logUri.
-
setLogUri
public 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];- Parameters:
value- The logUri to set.- Returns:
- This builder for chaining.
-
clearLogUri
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];- Returns:
- This builder for chaining.
-
setLogUriBytes
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];- Parameters:
value- The bytes for logUri to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceTaskOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Task.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Task.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getEtag
public 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];- Specified by:
getEtagin interfaceTaskOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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];- Specified by:
getEtagBytesin interfaceTaskOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public 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];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
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];- Returns:
- This builder for chaining.
-
setEtagBytes
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];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Task.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
mergeUnknownFields
public final Task.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
-