Package io.kubernetes.client.proto
Class V1Batch.JobStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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()
int
The number of pending and running pods.CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.com.google.protobuf.ByteString
CompletedIndexes 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.int
The 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
The number of pods which reached phase Failed.int
getReady()
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.int
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.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.boolean
The number of pending and running pods.boolean
CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.boolean
Represents time when the job was completed.boolean
The number of pods which reached phase Failed.boolean
hasReady()
The number of pods which have a Ready condition.boolean
Represents time when the job controller started processing a job.boolean
The number of pods which reached phase Succeeded.boolean
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
final boolean
mergeCompletionTime
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
setField
public V1Batch.JobStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
addRepeatedField
public V1Batch.JobStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getConditionsList
in 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:
getConditionsCount
in 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:
getConditions
in 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:
getConditionsOrBuilder
in 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:
getConditionsOrBuilderList
in 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:
hasStartTime
in 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:
getStartTime
in 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:
getStartTimeOrBuilder
in 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:
hasCompletionTime
in 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:
getCompletionTime
in 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:
getCompletionTimeOrBuilder
in interfaceV1Batch.JobStatusOrBuilder
-
hasActive
public boolean hasActive()The number of pending and running pods. +optional
optional int32 active = 4;
- Specified by:
hasActive
in interfaceV1Batch.JobStatusOrBuilder
-
getActive
public int getActive()The number of pending and running pods. +optional
optional int32 active = 4;
- Specified by:
getActive
in 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:
hasSucceeded
in interfaceV1Batch.JobStatusOrBuilder
-
getSucceeded
public int getSucceeded()The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;
- Specified by:
getSucceeded
in 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:
hasFailed
in interfaceV1Batch.JobStatusOrBuilder
-
getFailed
public int getFailed()The number of pods which reached phase Failed. +optional
optional int32 failed = 6;
- Specified by:
getFailed
in 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:
hasCompletedIndexes
in 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:
getCompletedIndexes
in 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:
getCompletedIndexesBytes
in 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. +optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
- Specified by:
hasUncountedTerminatedPods
in 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. +optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
- Specified by:
getUncountedTerminatedPods
in 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. +optional
optional .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. +optional
optional .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. +optional
optional .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. +optional
optional .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. +optional
optional .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. +optional
optional .k8s.io.api.batch.v1.UncountedTerminatedPods uncountedTerminatedPods = 8;
- Specified by:
getUncountedTerminatedPodsOrBuilder
in 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:
hasReady
in 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:
getReady
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-
mergeUnknownFields
public final V1Batch.JobStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
-