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.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(int index, Condition value)
Output only.Task.Builder
addConditions(int index, Condition.Builder builderForValue)
Output only.Task.Builder
addConditions(Condition value)
Output only.Task.Builder
addConditions(Condition.Builder builderForValue)
Output only.Condition.Builder
addConditionsBuilder()
Output only.Condition.Builder
addConditionsBuilder(int index)
Output only.Task.Builder
addContainers(int index, 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(Container value)
Holds the single container that defines the unit of execution for this task.Task.Builder
addContainers(Container.Builder builderForValue)
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 value)
A list of Volumes to make available to containers.Task.Builder
addVolumes(int index, 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.Task.Builder
addVolumes(Volume.Builder builderForValue)
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
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
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.long
getObservedGeneration()
Output only.boolean
getReconciling()
Output only.int
getRetried()
Output only.boolean
getSatisfiesPzs()
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
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.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(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(Task other)
Task.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Task.Builder
mergeFrom(com.google.protobuf.Message other)
Task.Builder
mergeLastAttemptResult(TaskAttemptResult 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 value)
Output only.Task.Builder
setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Task.Builder
setConditions(int index, Condition value)
Output only.Task.Builder
setConditions(int index, Condition.Builder builderForValue)
Output only.Task.Builder
setContainers(int index, Container value)
Holds the single container that defines the unit of execution for this task.Task.Builder
setContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.Task.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Task.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Task.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Task.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Output only.Task.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Output only.Task.Builder
setLastAttemptResult(TaskAttemptResult.Builder builderForValue)
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
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
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 value)
Output only.Task.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.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
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
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 value)
Output only.Task.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Task.Builder
setVolumes(int index, Volume value)
A list of Volumes to make available to containers.Task.Builder
setVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.Task.Builder
setVpcAccess(VpcAccess value)
Output only.Task.Builder
setVpcAccess(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clear
public Task.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
getDefaultInstanceForType
public Task getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Task build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Task buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Task.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
setField
public Task.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clearField
public Task.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
clearOneof
public Task.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
setRepeatedField
public Task.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
addRepeatedField
public Task.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
mergeFrom
public Task.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Task.Builder>
-
mergeFrom
public Task.Builder mergeFrom(Task other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
getGeneration
in 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:TaskOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceTaskOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:TaskOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceTaskOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasCompletionTime
in 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:
getCompletionTime
in 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:
getCompletionTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasDeleteTime
in 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:
getDeleteTime
in 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:
getDeleteTimeOrBuilder
in 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:
hasExpireTime
in 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:
getExpireTime
in 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:
getExpireTimeOrBuilder
in 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:
getJob
in 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:
getJobBytes
in 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:
getExecution
in 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:
getExecutionBytes
in 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:
getContainersList
in 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:
getContainersCount
in 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:
getContainers
in 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:
getContainersOrBuilder
in 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:
getContainersOrBuilderList
in 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:
getVolumesList
in interfaceTaskOrBuilder
-
getVolumesCount
public int getVolumesCount()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 15;
- Specified by:
getVolumesCount
in 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:
getVolumes
in 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:
getVolumesOrBuilder
in 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:
getVolumesOrBuilderList
in 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:
getMaxRetries
in 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:
hasTimeout
in 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:
getTimeout
in 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:
getTimeoutOrBuilder
in 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:
getServiceAccount
in 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:
getServiceAccountBytes
in 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:
getExecutionEnvironmentValue
in 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:
getExecutionEnvironment
in 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:
getReconciling
in 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:
getConditionsList
in 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:
getConditionsCount
in 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:
getConditions
in 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:
getConditionsOrBuilder
in 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:
getConditionsOrBuilderList
in 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:
getObservedGeneration
in 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:
getIndex
in 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:
getRetried
in 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:
hasLastAttemptResult
in 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:
getLastAttemptResult
in 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:
getLastAttemptResultOrBuilder
in 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:
getEncryptionKey
in 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:
getEncryptionKeyBytes
in 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:
hasVpcAccess
in 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:
getVpcAccess
in 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:
getVpcAccessOrBuilder
in 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:
getLogUri
in 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:
getLogUriBytes
in 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:
getSatisfiesPzs
in 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:
getEtag
in 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:
getEtagBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
mergeUnknownFields
public final Task.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
-
-