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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • clear

      public V1Batch.JobStatus.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • getDefaultInstanceForType

      public V1Batch.JobStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public V1Batch.JobStatus build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1Batch.JobStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public V1Batch.JobStatus.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • clearField

      public V1Batch.JobStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • clearOneof

      public V1Batch.JobStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • mergeFrom

      public V1Batch.JobStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>
    • mergeFrom

      public V1Batch.JobStatus.Builder mergeFrom(V1Batch.JobStatus other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Batch.JobStatus.Builder>
      Throws:
      IOException
    • getConditionsList

      public 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;
      Specified by:
      getConditionsList in interface V1Batch.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 interface V1Batch.JobStatusOrBuilder
    • getConditions

      public 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;
      Specified by:
      getConditions in interface V1Batch.JobStatusOrBuilder
    • setConditions

      public 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;
    • 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

      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;
    • addConditions

      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;
    • addConditions

      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;
    • 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

      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;
    • clearConditions

      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;
    • removeConditions

      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;
    • getConditionsBuilder

      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;
    • getConditionsOrBuilder

      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;
      Specified by:
      getConditionsOrBuilder in interface V1Batch.JobStatusOrBuilder
    • getConditionsOrBuilderList

      public 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;
      Specified by:
      getConditionsOrBuilderList in interface V1Batch.JobStatusOrBuilder
    • addConditionsBuilder

      public 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;
    • addConditionsBuilder

      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;
    • getConditionsBuilderList

      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;
    • 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 interface V1Batch.JobStatusOrBuilder
    • getStartTime

      public 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;
      Specified by:
      getStartTime in interface V1Batch.JobStatusOrBuilder
    • setStartTime

      public 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;
    • setStartTime

      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;
    • mergeStartTime

      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;
    • clearStartTime

      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;
    • getStartTimeBuilder

      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;
    • getStartTimeOrBuilder

      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;
      Specified by:
      getStartTimeOrBuilder in interface V1Batch.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 interface V1Batch.JobStatusOrBuilder
    • getCompletionTime

      public 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;
      Specified by:
      getCompletionTime in interface V1Batch.JobStatusOrBuilder
    • setCompletionTime

      public 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;
    • setCompletionTime

      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;
    • mergeCompletionTime

      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;
    • clearCompletionTime

      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;
    • getCompletionTimeBuilder

      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;
    • getCompletionTimeOrBuilder

      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;
      Specified by:
      getCompletionTimeOrBuilder in interface V1Batch.JobStatusOrBuilder
    • hasActive

      public boolean hasActive()
       The number of pending and running pods.
       +optional
       
      optional int32 active = 4;
      Specified by:
      hasActive in interface V1Batch.JobStatusOrBuilder
    • getActive

      public int getActive()
       The number of pending and running pods.
       +optional
       
      optional int32 active = 4;
      Specified by:
      getActive in interface V1Batch.JobStatusOrBuilder
    • setActive

      public V1Batch.JobStatus.Builder setActive(int value)
       The number of pending and running pods.
       +optional
       
      optional int32 active = 4;
    • clearActive

      public V1Batch.JobStatus.Builder 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 interface V1Batch.JobStatusOrBuilder
    • getSucceeded

      public int getSucceeded()
       The number of pods which reached phase Succeeded.
       +optional
       
      optional int32 succeeded = 5;
      Specified by:
      getSucceeded in interface V1Batch.JobStatusOrBuilder
    • setSucceeded

      public V1Batch.JobStatus.Builder setSucceeded(int value)
       The number of pods which reached phase Succeeded.
       +optional
       
      optional int32 succeeded = 5;
    • clearSucceeded

      public V1Batch.JobStatus.Builder 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 interface V1Batch.JobStatusOrBuilder
    • getFailed

      public int getFailed()
       The number of pods which reached phase Failed.
       +optional
       
      optional int32 failed = 6;
      Specified by:
      getFailed in interface V1Batch.JobStatusOrBuilder
    • setFailed

      public V1Batch.JobStatus.Builder setFailed(int value)
       The number of pods which reached phase Failed.
       +optional
       
      optional int32 failed = 6;
    • clearFailed

      public V1Batch.JobStatus.Builder 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 interface V1Batch.JobStatusOrBuilder
    • getCompletedIndexes

      public 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;
      Specified by:
      getCompletedIndexes in interface V1Batch.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 interface V1Batch.JobStatusOrBuilder
    • setCompletedIndexes

      public 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;
    • clearCompletedIndexes

      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;
    • setCompletedIndexesBytes

      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;
    • 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 interface V1Batch.JobStatusOrBuilder
    • getUncountedTerminatedPods

      public 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;
      Specified by:
      getUncountedTerminatedPods in interface V1Batch.JobStatusOrBuilder
    • setUncountedTerminatedPods

      public 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;
    • 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

      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;
    • getUncountedTerminatedPodsBuilder

      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;
    • getUncountedTerminatedPodsOrBuilder

      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;
      Specified by:
      getUncountedTerminatedPodsOrBuilder in interface V1Batch.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 interface V1Batch.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 interface V1Batch.JobStatusOrBuilder
    • setReady

      public 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;
    • clearReady

      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;
    • setUnknownFields

      public final V1Batch.JobStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>
    • mergeUnknownFields

      public final V1Batch.JobStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobStatus.Builder>