public static final class V1Batch.JobStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder> implements V1Batch.JobStatusOrBuilder
JobStatus represents the current state of a Job.Protobuf type
k8s.io.api.batch.v1.JobStatus| Modifier and Type | Method and Description |
|---|---|
V1Batch.JobStatus.Builder |
addAllConditions(Iterable<? extends V1Batch.JobCondition> values)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
addConditions(int index,
V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
addConditions(int index,
V1Batch.JobCondition value)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
addConditions(V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
addConditions(V1Batch.JobCondition value)
The latest available observations of an object's current state.
|
V1Batch.JobCondition.Builder |
addConditionsBuilder()
The latest available observations of an object's current state.
|
V1Batch.JobCondition.Builder |
addConditionsBuilder(int index)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Batch.JobStatus |
build() |
V1Batch.JobStatus |
buildPartial() |
V1Batch.JobStatus.Builder |
clear() |
V1Batch.JobStatus.Builder |
clearActive()
The number of pending and running pods.
|
V1Batch.JobStatus.Builder |
clearCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
V1Batch.JobStatus.Builder |
clearCompletionTime()
Represents time when the job was completed.
|
V1Batch.JobStatus.Builder |
clearConditions()
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
clearFailed()
The number of pods which reached phase Failed.
|
V1Batch.JobStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1Batch.JobStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1Batch.JobStatus.Builder |
clearReady()
The number of pods which have a Ready condition.
|
V1Batch.JobStatus.Builder |
clearStartTime()
Represents time when the job controller started processing a job.
|
V1Batch.JobStatus.Builder |
clearSucceeded()
The number of pods which reached phase Succeeded.
|
V1Batch.JobStatus.Builder |
clearUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.JobStatus.Builder |
clone() |
int |
getActive()
The number of pending and running pods.
|
String |
getCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
com.google.protobuf.ByteString |
getCompletedIndexesBytes()
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
Meta.Time |
getCompletionTime()
Represents time when the job was completed.
|
Meta.Time.Builder |
getCompletionTimeBuilder()
Represents time when the job was completed.
|
Meta.TimeOrBuilder |
getCompletionTimeOrBuilder()
Represents time when the job was completed.
|
V1Batch.JobCondition |
getConditions(int index)
The latest available observations of an object's current state.
|
V1Batch.JobCondition.Builder |
getConditionsBuilder(int index)
The latest available observations of an object's current state.
|
List<V1Batch.JobCondition.Builder> |
getConditionsBuilderList()
The latest available observations of an object's current state.
|
int |
getConditionsCount()
The latest available observations of an object's current state.
|
List<V1Batch.JobCondition> |
getConditionsList()
The latest available observations of an object's current state.
|
V1Batch.JobConditionOrBuilder |
getConditionsOrBuilder(int index)
The latest available observations of an object's current state.
|
List<? extends V1Batch.JobConditionOrBuilder> |
getConditionsOrBuilderList()
The latest available observations of an object's current state.
|
V1Batch.JobStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getFailed()
The number of pods which reached phase Failed.
|
int |
getReady()
The number of pods which have a Ready condition.
|
Meta.Time |
getStartTime()
Represents time when the job controller started processing a job.
|
Meta.Time.Builder |
getStartTimeBuilder()
Represents time when the job controller started processing a job.
|
Meta.TimeOrBuilder |
getStartTimeOrBuilder()
Represents time when the job controller started processing a job.
|
int |
getSucceeded()
The number of pods which reached phase Succeeded.
|
V1Batch.UncountedTerminatedPods |
getUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.UncountedTerminatedPods.Builder |
getUncountedTerminatedPodsBuilder()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.UncountedTerminatedPodsOrBuilder |
getUncountedTerminatedPodsOrBuilder()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
boolean |
hasActive()
The number of pending and running pods.
|
boolean |
hasCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
boolean |
hasCompletionTime()
Represents time when the job was completed.
|
boolean |
hasFailed()
The number of pods which reached phase Failed.
|
boolean |
hasReady()
The number of pods which have a Ready condition.
|
boolean |
hasStartTime()
Represents time when the job controller started processing a job.
|
boolean |
hasSucceeded()
The number of pods which reached phase Succeeded.
|
boolean |
hasUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1Batch.JobStatus.Builder |
mergeCompletionTime(Meta.Time value)
Represents time when the job was completed.
|
V1Batch.JobStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1Batch.JobStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1Batch.JobStatus.Builder |
mergeFrom(V1Batch.JobStatus other) |
V1Batch.JobStatus.Builder |
mergeStartTime(Meta.Time value)
Represents time when the job controller started processing a job.
|
V1Batch.JobStatus.Builder |
mergeUncountedTerminatedPods(V1Batch.UncountedTerminatedPods value)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.JobStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1Batch.JobStatus.Builder |
removeConditions(int index)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
setActive(int value)
The number of pending and running pods.
|
V1Batch.JobStatus.Builder |
setCompletedIndexes(String value)
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
V1Batch.JobStatus.Builder |
setCompletedIndexesBytes(com.google.protobuf.ByteString value)
CompletedIndexes holds the completed indexes when .spec.completionMode =
"Indexed" in a text format.
|
V1Batch.JobStatus.Builder |
setCompletionTime(Meta.Time.Builder builderForValue)
Represents time when the job was completed.
|
V1Batch.JobStatus.Builder |
setCompletionTime(Meta.Time value)
Represents time when the job was completed.
|
V1Batch.JobStatus.Builder |
setConditions(int index,
V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
setConditions(int index,
V1Batch.JobCondition value)
The latest available observations of an object's current state.
|
V1Batch.JobStatus.Builder |
setFailed(int value)
The number of pods which reached phase Failed.
|
V1Batch.JobStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1Batch.JobStatus.Builder |
setReady(int value)
The number of pods which have a Ready condition.
|
V1Batch.JobStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1Batch.JobStatus.Builder |
setStartTime(Meta.Time.Builder builderForValue)
Represents time when the job controller started processing a job.
|
V1Batch.JobStatus.Builder |
setStartTime(Meta.Time value)
Represents time when the job controller started processing a job.
|
V1Batch.JobStatus.Builder |
setSucceeded(int value)
The number of pods which reached phase Succeeded.
|
V1Batch.JobStatus.Builder |
setUncountedTerminatedPods(V1Batch.UncountedTerminatedPods.Builder builderForValue)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.JobStatus.Builder |
setUncountedTerminatedPods(V1Batch.UncountedTerminatedPods value)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
|
V1Batch.JobStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1Batch.JobStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1Batch.JobStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1Batch.JobStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder mergeFrom(V1Batch.JobStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public V1Batch.JobStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>IOExceptionpublic List<V1Batch.JobCondition> getConditionsList()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsList in interface V1Batch.JobStatusOrBuilderpublic int getConditionsCount()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsCount in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobCondition getConditions(int index)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditions in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setConditions(int index, V1Batch.JobCondition value)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder setConditions(int index, V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder addConditions(V1Batch.JobCondition value)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder addConditions(int index, V1Batch.JobCondition value)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder addConditions(V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder addConditions(int index, V1Batch.JobCondition.Builder builderForValue)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder addAllConditions(Iterable<? extends V1Batch.JobCondition> values)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder clearConditions()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobStatus.Builder removeConditions(int index)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobCondition.Builder getConditionsBuilder(int index)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobConditionOrBuilder getConditionsOrBuilder(int index)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsOrBuilder in interface V1Batch.JobStatusOrBuilderpublic List<? extends V1Batch.JobConditionOrBuilder> getConditionsOrBuilderList()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsOrBuilderList in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobCondition.Builder addConditionsBuilder()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public V1Batch.JobCondition.Builder addConditionsBuilder(int index)
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public List<V1Batch.JobCondition.Builder> getConditionsBuilderList()
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge +listType=atomic
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;public boolean hasStartTime()
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;hasStartTime in interface V1Batch.JobStatusOrBuilderpublic Meta.Time getStartTime()
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;getStartTime in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setStartTime(Meta.Time value)
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;public V1Batch.JobStatus.Builder setStartTime(Meta.Time.Builder builderForValue)
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;public V1Batch.JobStatus.Builder mergeStartTime(Meta.Time value)
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;public V1Batch.JobStatus.Builder clearStartTime()
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;public Meta.Time.Builder getStartTimeBuilder()
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;public Meta.TimeOrBuilder getStartTimeOrBuilder()
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;getStartTimeOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasCompletionTime()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;hasCompletionTime in interface V1Batch.JobStatusOrBuilderpublic Meta.Time getCompletionTime()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;getCompletionTime in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setCompletionTime(Meta.Time value)
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;public V1Batch.JobStatus.Builder setCompletionTime(Meta.Time.Builder builderForValue)
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;public V1Batch.JobStatus.Builder mergeCompletionTime(Meta.Time value)
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;public V1Batch.JobStatus.Builder clearCompletionTime()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;public Meta.Time.Builder getCompletionTimeBuilder()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;public Meta.TimeOrBuilder getCompletionTimeOrBuilder()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;getCompletionTimeOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasActive()
The number of pending and running pods. +optional
optional int32 active = 4;hasActive in interface V1Batch.JobStatusOrBuilderpublic int getActive()
The number of pending and running pods. +optional
optional int32 active = 4;getActive in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setActive(int value)
The number of pending and running pods. +optional
optional int32 active = 4;public V1Batch.JobStatus.Builder clearActive()
The number of pending and running pods. +optional
optional int32 active = 4;public boolean hasSucceeded()
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;hasSucceeded in interface V1Batch.JobStatusOrBuilderpublic int getSucceeded()
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;getSucceeded in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setSucceeded(int value)
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;public V1Batch.JobStatus.Builder clearSucceeded()
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;public boolean hasFailed()
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;hasFailed in interface V1Batch.JobStatusOrBuilderpublic int getFailed()
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;getFailed in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setFailed(int value)
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;public V1Batch.JobStatus.Builder clearFailed()
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;public boolean hasCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;hasCompletedIndexes in interface V1Batch.JobStatusOrBuilderpublic String getCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;getCompletedIndexes in interface V1Batch.JobStatusOrBuilderpublic com.google.protobuf.ByteString getCompletedIndexesBytes()
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;getCompletedIndexesBytes in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setCompletedIndexes(String value)
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;public V1Batch.JobStatus.Builder clearCompletedIndexes()
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;public V1Batch.JobStatus.Builder setCompletedIndexesBytes(com.google.protobuf.ByteString value)
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". +optional
optional string completedIndexes = 7;public boolean hasUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
hasUncountedTerminatedPods in interface V1Batch.JobStatusOrBuilderpublic V1Batch.UncountedTerminatedPods getUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
getUncountedTerminatedPods in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setUncountedTerminatedPods(V1Batch.UncountedTerminatedPods value)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
public V1Batch.JobStatus.Builder setUncountedTerminatedPods(V1Batch.UncountedTerminatedPods.Builder builderForValue)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
public V1Batch.JobStatus.Builder mergeUncountedTerminatedPods(V1Batch.UncountedTerminatedPods value)
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
public V1Batch.JobStatus.Builder clearUncountedTerminatedPods()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
public V1Batch.UncountedTerminatedPods.Builder getUncountedTerminatedPodsBuilder()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
public V1Batch.UncountedTerminatedPodsOrBuilder getUncountedTerminatedPodsOrBuilder()
UncountedTerminatedPods holds the UIDs of Pods that have terminated but
the job controller hasn't yet accounted for in the status counters.
The job controller creates pods with a finalizer. When a pod terminates
(succeeded or failed), the controller does three steps to account for it
in the job status:
(1) Add the pod UID to the arrays in this field.
(2) Remove the pod finalizer.
(3) Remove the pod UID from the arrays while increasing the corresponding
counter.
This field is beta-level. The job controller only makes use of this field
when the feature gate JobTrackingWithFinalizers is enabled (enabled
by default).
Old jobs might not be tracked using this field, in which case the field
remains null.
+optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
getUncountedTerminatedPodsOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasReady()
The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default). +optional
optional int32 ready = 9;hasReady in interface V1Batch.JobStatusOrBuilderpublic int getReady()
The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default). +optional
optional int32 ready = 9;getReady in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobStatus.Builder setReady(int value)
The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default). +optional
optional int32 ready = 9;public V1Batch.JobStatus.Builder clearReady()
The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default). +optional
optional int32 ready = 9;public final V1Batch.JobStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>public final V1Batch.JobStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>Copyright © 2023. All rights reserved.