Package io.kubernetes.client.proto
Class V1Batch.JobStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
io.kubernetes.client.proto.V1Batch.JobStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Batch.JobStatusOrBuilder,Cloneable
- Enclosing class:
- V1Batch.JobStatus
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllConditions(Iterable<? extends V1Batch.JobCondition> values) The latest available observations of an object's current state.addConditions(int index, V1Batch.JobCondition value) The latest available observations of an object's current state.addConditions(int index, V1Batch.JobCondition.Builder builderForValue) The latest available observations of an object's current state.The latest available observations of an object's current state.addConditions(V1Batch.JobCondition.Builder builderForValue) The latest available observations of an object's current state.The latest available observations of an object's current state.addConditionsBuilder(int index) The latest available observations of an object's current state.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The number of pending and running pods.CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.Represents time when the job was completed.The latest available observations of an object's current state.The number of pods which reached phase Failed.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The number of pods which have a Ready condition.Represents time when the job controller started processing a job.The number of pods which reached phase Succeeded.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.clone()intThe number of pending and running pods.CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.com.google.protobuf.ByteStringCompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.Represents time when the job was completed.Represents time when the job was completed.Represents time when the job was completed.getConditions(int index) The latest available observations of an object's current state.getConditionsBuilder(int index) The latest available observations of an object's current state.The latest available observations of an object's current state.intThe latest available observations of an object's current state.The latest available observations of an object's current state.getConditionsOrBuilder(int index) The latest available observations of an object's current state.List<? extends V1Batch.JobConditionOrBuilder>The latest available observations of an object's current state.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe number of pods which reached phase Failed.intgetReady()The number of pods which have a Ready condition.Represents time when the job controller started processing a job.Represents time when the job controller started processing a job.Represents time when the job controller started processing a job.intThe number of pods which reached phase Succeeded.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.booleanThe number of pending and running pods.booleanCompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.booleanRepresents time when the job was completed.booleanThe number of pods which reached phase Failed.booleanhasReady()The number of pods which have a Ready condition.booleanRepresents time when the job controller started processing a job.booleanThe number of pods which reached phase Succeeded.booleanUncountedTerminatedPods 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.FieldAccessorTablefinal booleanmergeCompletionTime(Meta.Time value) Represents time when the job was completed.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1Batch.JobStatus other) mergeStartTime(Meta.Time value) Represents time when the job controller started processing a job.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeConditions(int index) The latest available observations of an object's current state.setActive(int value) The number of pending and running pods.setCompletedIndexes(String value) CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.setCompletedIndexesBytes(com.google.protobuf.ByteString value) CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.setCompletionTime(Meta.Time value) Represents time when the job was completed.setCompletionTime(Meta.Time.Builder builderForValue) Represents time when the job was completed.setConditions(int index, V1Batch.JobCondition value) The latest available observations of an object's current state.setConditions(int index, V1Batch.JobCondition.Builder builderForValue) The latest available observations of an object's current state.setFailed(int value) The number of pods which reached phase Failed.setReady(int value) The number of pods which have a Ready condition.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime(Meta.Time value) Represents time when the job controller started processing a job.setStartTime(Meta.Time.Builder builderForValue) Represents time when the job controller started processing a job.setSucceeded(int value) The number of pods which reached phase Succeeded.UncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
setField
public V1Batch.JobStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
setRepeatedField
public V1Batch.JobStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
addRepeatedField
public V1Batch.JobStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
mergeFrom
public V1Batch.JobStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>- Throws:
IOException
-
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;- Specified by:
getConditionsListin interfaceV1Batch.JobStatusOrBuilder
-
getConditionsCount
public 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;- Specified by:
getConditionsCountin interfaceV1Batch.JobStatusOrBuilder
-
getConditions
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;- Specified by:
getConditionsin interfaceV1Batch.JobStatusOrBuilder
-
setConditions
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; -
setConditions
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; -
addConditions
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; -
addConditions
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; -
addConditions
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; -
addConditions
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; -
addAllConditions
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; -
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; -
removeConditions
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; -
getConditionsBuilder
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
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;- Specified by:
getConditionsOrBuilderin interfaceV1Batch.JobStatusOrBuilder
-
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;- Specified by:
getConditionsOrBuilderListin interfaceV1Batch.JobStatusOrBuilder
-
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; -
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; -
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; -
hasStartTime
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;- Specified by:
hasStartTimein interfaceV1Batch.JobStatusOrBuilder
-
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;- Specified by:
getStartTimein interfaceV1Batch.JobStatusOrBuilder
-
setStartTime
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; -
setStartTime
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; -
mergeStartTime
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; -
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; -
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; -
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;- Specified by:
getStartTimeOrBuilderin interfaceV1Batch.JobStatusOrBuilder
-
hasCompletionTime
public 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;- Specified by:
hasCompletionTimein interfaceV1Batch.JobStatusOrBuilder
-
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;- Specified by:
getCompletionTimein interfaceV1Batch.JobStatusOrBuilder
-
setCompletionTime
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; -
setCompletionTime
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; -
mergeCompletionTime
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; -
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; -
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; -
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;- Specified by:
getCompletionTimeOrBuilderin interfaceV1Batch.JobStatusOrBuilder
-
hasActive
public boolean hasActive()The number of pending and running pods. +optional
optional int32 active = 4;- Specified by:
hasActivein interfaceV1Batch.JobStatusOrBuilder
-
getActive
public int getActive()The number of pending and running pods. +optional
optional int32 active = 4;- Specified by:
getActivein interfaceV1Batch.JobStatusOrBuilder
-
setActive
The number of pending and running pods. +optional
optional int32 active = 4; -
clearActive
The number of pending and running pods. +optional
optional int32 active = 4; -
hasSucceeded
public boolean hasSucceeded()The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;- Specified by:
hasSucceededin interfaceV1Batch.JobStatusOrBuilder
-
getSucceeded
public int getSucceeded()The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;- Specified by:
getSucceededin interfaceV1Batch.JobStatusOrBuilder
-
setSucceeded
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5; -
clearSucceeded
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5; -
hasFailed
public boolean hasFailed()The number of pods which reached phase Failed. +optional
optional int32 failed = 6;- Specified by:
hasFailedin interfaceV1Batch.JobStatusOrBuilder
-
getFailed
public int getFailed()The number of pods which reached phase Failed. +optional
optional int32 failed = 6;- Specified by:
getFailedin interfaceV1Batch.JobStatusOrBuilder
-
setFailed
The number of pods which reached phase Failed. +optional
optional int32 failed = 6; -
clearFailed
The number of pods which reached phase Failed. +optional
optional int32 failed = 6; -
hasCompletedIndexes
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;- Specified by:
hasCompletedIndexesin interfaceV1Batch.JobStatusOrBuilder
-
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;- Specified by:
getCompletedIndexesin interfaceV1Batch.JobStatusOrBuilder
-
getCompletedIndexesBytes
public 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;- Specified by:
getCompletedIndexesBytesin interfaceV1Batch.JobStatusOrBuilder
-
setCompletedIndexes
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; -
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; -
setCompletedIndexesBytes
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; -
hasUncountedTerminatedPods
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;- Specified by:
hasUncountedTerminatedPodsin interfaceV1Batch.JobStatusOrBuilder
-
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;- Specified by:
getUncountedTerminatedPodsin interfaceV1Batch.JobStatusOrBuilder
-
setUncountedTerminatedPods
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8; -
setUncountedTerminatedPods
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8; -
mergeUncountedTerminatedPods
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8; -
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8; -
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8; -
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. +optionaloptional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;- Specified by:
getUncountedTerminatedPodsOrBuilderin interfaceV1Batch.JobStatusOrBuilder
-
hasReady
public 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;- Specified by:
hasReadyin interfaceV1Batch.JobStatusOrBuilder
-
getReady
public 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;- Specified by:
getReadyin interfaceV1Batch.JobStatusOrBuilder
-
setReady
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; -
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; -
setUnknownFields
public final V1Batch.JobStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
mergeUnknownFields
public final V1Batch.JobStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-