Class V1Batch.CronJobStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.CronJobStatus.Builder>
io.kubernetes.client.proto.V1Batch.CronJobStatus.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Batch.CronJobStatusOrBuilder, Cloneable
Enclosing class:
V1Batch.CronJobStatus

public static final class V1Batch.CronJobStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.CronJobStatus.Builder> implements V1Batch.CronJobStatusOrBuilder
 CronJobStatus represents the current state of a cron job.
 
Protobuf type k8s.io.api.batch.v1.CronJobStatus
  • 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.CronJobStatus.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.CronJobStatus.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.CronJobStatus.Builder>
    • getDefaultInstanceForType

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

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

      public V1Batch.CronJobStatus buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.CronJobStatus.Builder>
    • setField

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • clearField

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • clearOneof

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • setRepeatedField

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • addRepeatedField

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • mergeFrom

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.CronJobStatus.Builder>
    • mergeFrom

      public V1Batch.CronJobStatus.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.CronJobStatus.Builder>
      Throws:
      IOException
    • getActiveList

      public List<V1.ObjectReference> getActiveList()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
      Specified by:
      getActiveList in interface V1Batch.CronJobStatusOrBuilder
    • getActiveCount

      public int getActiveCount()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
      Specified by:
      getActiveCount in interface V1Batch.CronJobStatusOrBuilder
    • getActive

      public V1.ObjectReference getActive(int index)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
      Specified by:
      getActive in interface V1Batch.CronJobStatusOrBuilder
    • setActive

      public V1Batch.CronJobStatus.Builder setActive(int index, V1.ObjectReference value)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • setActive

      public V1Batch.CronJobStatus.Builder setActive(int index, V1.ObjectReference.Builder builderForValue)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addActive

       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addActive

      public V1Batch.CronJobStatus.Builder addActive(int index, V1.ObjectReference value)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addActive

      public V1Batch.CronJobStatus.Builder addActive(V1.ObjectReference.Builder builderForValue)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addActive

      public V1Batch.CronJobStatus.Builder addActive(int index, V1.ObjectReference.Builder builderForValue)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addAllActive

      public V1Batch.CronJobStatus.Builder addAllActive(Iterable<? extends V1.ObjectReference> values)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • clearActive

      public V1Batch.CronJobStatus.Builder clearActive()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • removeActive

      public V1Batch.CronJobStatus.Builder removeActive(int index)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • getActiveBuilder

      public V1.ObjectReference.Builder getActiveBuilder(int index)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • getActiveOrBuilder

      public V1.ObjectReferenceOrBuilder getActiveOrBuilder(int index)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
      Specified by:
      getActiveOrBuilder in interface V1Batch.CronJobStatusOrBuilder
    • getActiveOrBuilderList

      public List<? extends V1.ObjectReferenceOrBuilder> getActiveOrBuilderList()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
      Specified by:
      getActiveOrBuilderList in interface V1Batch.CronJobStatusOrBuilder
    • addActiveBuilder

      public V1.ObjectReference.Builder addActiveBuilder()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • addActiveBuilder

      public V1.ObjectReference.Builder addActiveBuilder(int index)
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • getActiveBuilderList

      public List<V1.ObjectReference.Builder> getActiveBuilderList()
       A list of pointers to currently running jobs.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.ObjectReference active = 1;
    • hasLastScheduleTime

      public boolean hasLastScheduleTime()
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
      Specified by:
      hasLastScheduleTime in interface V1Batch.CronJobStatusOrBuilder
    • getLastScheduleTime

      public Meta.Time getLastScheduleTime()
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
      Specified by:
      getLastScheduleTime in interface V1Batch.CronJobStatusOrBuilder
    • setLastScheduleTime

      public V1Batch.CronJobStatus.Builder setLastScheduleTime(Meta.Time value)
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    • setLastScheduleTime

      public V1Batch.CronJobStatus.Builder setLastScheduleTime(Meta.Time.Builder builderForValue)
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    • mergeLastScheduleTime

      public V1Batch.CronJobStatus.Builder mergeLastScheduleTime(Meta.Time value)
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    • clearLastScheduleTime

      public V1Batch.CronJobStatus.Builder clearLastScheduleTime()
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    • getLastScheduleTimeBuilder

      public Meta.Time.Builder getLastScheduleTimeBuilder()
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
    • getLastScheduleTimeOrBuilder

      public Meta.TimeOrBuilder getLastScheduleTimeOrBuilder()
       Information when was the last time the job was successfully scheduled.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScheduleTime = 4;
      Specified by:
      getLastScheduleTimeOrBuilder in interface V1Batch.CronJobStatusOrBuilder
    • hasLastSuccessfulTime

      public boolean hasLastSuccessfulTime()
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
      Specified by:
      hasLastSuccessfulTime in interface V1Batch.CronJobStatusOrBuilder
    • getLastSuccessfulTime

      public Meta.Time getLastSuccessfulTime()
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
      Specified by:
      getLastSuccessfulTime in interface V1Batch.CronJobStatusOrBuilder
    • setLastSuccessfulTime

      public V1Batch.CronJobStatus.Builder setLastSuccessfulTime(Meta.Time value)
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
    • setLastSuccessfulTime

      public V1Batch.CronJobStatus.Builder setLastSuccessfulTime(Meta.Time.Builder builderForValue)
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
    • mergeLastSuccessfulTime

      public V1Batch.CronJobStatus.Builder mergeLastSuccessfulTime(Meta.Time value)
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
    • clearLastSuccessfulTime

      public V1Batch.CronJobStatus.Builder clearLastSuccessfulTime()
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
    • getLastSuccessfulTimeBuilder

      public Meta.Time.Builder getLastSuccessfulTimeBuilder()
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
    • getLastSuccessfulTimeOrBuilder

      public Meta.TimeOrBuilder getLastSuccessfulTimeOrBuilder()
       Information when was the last time the job successfully completed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5;
      Specified by:
      getLastSuccessfulTimeOrBuilder in interface V1Batch.CronJobStatusOrBuilder
    • setUnknownFields

      public final V1Batch.CronJobStatus.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.CronJobStatus.Builder>
    • mergeUnknownFields

      public final V1Batch.CronJobStatus.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.CronJobStatus.Builder>