Class V1Batch.JobSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Batch.JobSpec
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Batch.JobSpecOrBuilder, Serializable
Enclosing class:
V1Batch

public static final class V1Batch.JobSpec extends com.google.protobuf.GeneratedMessageV3 implements V1Batch.JobSpecOrBuilder
 JobSpec describes how the job execution will look like.
 
Protobuf type k8s.io.api.batch.v1.JobSpec
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    JobSpec describes how the job execution will look like.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final com.google.protobuf.Parser<V1Batch.JobSpec>
    Deprecated.
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    long
    Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer.
    int
    Specifies the number of retries before marking this job failed.
    CompletionMode specifies how Pod completions are tracked.
    com.google.protobuf.ByteString
    CompletionMode specifies how Pod completions are tracked.
    int
    Specifies the desired number of successfully finished pods the job should be run with.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    manualSelector controls generation of pod labels and pod selectors.
    int
    Specifies the maximum desired number of pods the job should run at any given time.
    com.google.protobuf.Parser<V1Batch.JobSpec>
     
    A label query over pods that should match the pod count.
    A label query over pods that should match the pod count.
    int
     
    boolean
    Suspend specifies whether the Job controller should create Pods or not.
    Describes the pod that will be created when executing a job.
    Describes the pod that will be created when executing a job.
    int
    ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed).
    final com.google.protobuf.UnknownFieldSet
     
    boolean
    Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer.
    boolean
    Specifies the number of retries before marking this job failed.
    boolean
    CompletionMode specifies how Pod completions are tracked.
    boolean
    Specifies the desired number of successfully finished pods the job should be run with.
    int
     
    boolean
    manualSelector controls generation of pod labels and pod selectors.
    boolean
    Specifies the maximum desired number of pods the job should run at any given time.
    boolean
    A label query over pods that should match the pod count.
    boolean
    Suspend specifies whether the Job controller should create Pods or not.
    boolean
    Describes the pod that will be created when executing a job.
    boolean
    ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed).
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<V1Batch.JobSpec>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

    • PARALLELISM_FIELD_NUMBER

      public static final int PARALLELISM_FIELD_NUMBER
      See Also:
    • COMPLETIONS_FIELD_NUMBER

      public static final int COMPLETIONS_FIELD_NUMBER
      See Also:
    • ACTIVEDEADLINESECONDS_FIELD_NUMBER

      public static final int ACTIVEDEADLINESECONDS_FIELD_NUMBER
      See Also:
    • BACKOFFLIMIT_FIELD_NUMBER

      public static final int BACKOFFLIMIT_FIELD_NUMBER
      See Also:
    • SELECTOR_FIELD_NUMBER

      public static final int SELECTOR_FIELD_NUMBER
      See Also:
    • MANUALSELECTOR_FIELD_NUMBER

      public static final int MANUALSELECTOR_FIELD_NUMBER
      See Also:
    • TEMPLATE_FIELD_NUMBER

      public static final int TEMPLATE_FIELD_NUMBER
      See Also:
    • TTLSECONDSAFTERFINISHED_FIELD_NUMBER

      public static final int TTLSECONDSAFTERFINISHED_FIELD_NUMBER
      See Also:
    • COMPLETIONMODE_FIELD_NUMBER

      public static final int COMPLETIONMODE_FIELD_NUMBER
      See Also:
    • SUSPEND_FIELD_NUMBER

      public static final int SUSPEND_FIELD_NUMBER
      See Also:
    • PARSER

      @Deprecated public static final com.google.protobuf.Parser<V1Batch.JobSpec> PARSER
      Deprecated.
  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasParallelism

      public boolean hasParallelism()
       Specifies the maximum desired number of pods the job should
       run at any given time. The actual number of pods running in steady state will
       be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
       i.e. when the work left to do is less than max parallelism.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       +optional
       
      optional int32 parallelism = 1;
      Specified by:
      hasParallelism in interface V1Batch.JobSpecOrBuilder
    • getParallelism

      public int getParallelism()
       Specifies the maximum desired number of pods the job should
       run at any given time. The actual number of pods running in steady state will
       be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism),
       i.e. when the work left to do is less than max parallelism.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       +optional
       
      optional int32 parallelism = 1;
      Specified by:
      getParallelism in interface V1Batch.JobSpecOrBuilder
    • hasCompletions

      public boolean hasCompletions()
       Specifies the desired number of successfully finished pods the
       job should be run with.  Setting to nil means that the success of any
       pod signals the success of all pods, and allows parallelism to have any positive
       value.  Setting to 1 means that parallelism is limited to 1 and the success of that
       pod signals the success of the job.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       +optional
       
      optional int32 completions = 2;
      Specified by:
      hasCompletions in interface V1Batch.JobSpecOrBuilder
    • getCompletions

      public int getCompletions()
       Specifies the desired number of successfully finished pods the
       job should be run with.  Setting to nil means that the success of any
       pod signals the success of all pods, and allows parallelism to have any positive
       value.  Setting to 1 means that parallelism is limited to 1 and the success of that
       pod signals the success of the job.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       +optional
       
      optional int32 completions = 2;
      Specified by:
      getCompletions in interface V1Batch.JobSpecOrBuilder
    • hasActiveDeadlineSeconds

      public boolean hasActiveDeadlineSeconds()
       Specifies the duration in seconds relative to the startTime that the job
       may be continuously active before the system tries to terminate it; value
       must be positive integer. If a Job is suspended (at creation or through an
       update), this timer will effectively be stopped and reset when the Job is
       resumed again.
       +optional
       
      optional int64 activeDeadlineSeconds = 3;
      Specified by:
      hasActiveDeadlineSeconds in interface V1Batch.JobSpecOrBuilder
    • getActiveDeadlineSeconds

      public long getActiveDeadlineSeconds()
       Specifies the duration in seconds relative to the startTime that the job
       may be continuously active before the system tries to terminate it; value
       must be positive integer. If a Job is suspended (at creation or through an
       update), this timer will effectively be stopped and reset when the Job is
       resumed again.
       +optional
       
      optional int64 activeDeadlineSeconds = 3;
      Specified by:
      getActiveDeadlineSeconds in interface V1Batch.JobSpecOrBuilder
    • hasBackoffLimit

      public boolean hasBackoffLimit()
       Specifies the number of retries before marking this job failed.
       Defaults to 6
       +optional
       
      optional int32 backoffLimit = 7;
      Specified by:
      hasBackoffLimit in interface V1Batch.JobSpecOrBuilder
    • getBackoffLimit

      public int getBackoffLimit()
       Specifies the number of retries before marking this job failed.
       Defaults to 6
       +optional
       
      optional int32 backoffLimit = 7;
      Specified by:
      getBackoffLimit in interface V1Batch.JobSpecOrBuilder
    • hasSelector

      public boolean hasSelector()
       A label query over pods that should match the pod count.
       Normally, the system sets this field for you.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
      Specified by:
      hasSelector in interface V1Batch.JobSpecOrBuilder
    • getSelector

      public Meta.LabelSelector getSelector()
       A label query over pods that should match the pod count.
       Normally, the system sets this field for you.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
      Specified by:
      getSelector in interface V1Batch.JobSpecOrBuilder
    • getSelectorOrBuilder

      public Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
       A label query over pods that should match the pod count.
       Normally, the system sets this field for you.
       More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
      Specified by:
      getSelectorOrBuilder in interface V1Batch.JobSpecOrBuilder
    • hasManualSelector

      public boolean hasManualSelector()
       manualSelector controls generation of pod labels and pod selectors.
       Leave `manualSelector` unset unless you are certain what you are doing.
       When false or unset, the system pick labels unique to this job
       and appends those labels to the pod template.  When true,
       the user is responsible for picking unique labels and specifying
       the selector.  Failure to pick a unique label may cause this
       and other jobs to not function correctly.  However, You may see
       `manualSelector=true` in jobs that were created with the old `extensions/v1beta1`
       API.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
       +optional
       
      optional bool manualSelector = 5;
      Specified by:
      hasManualSelector in interface V1Batch.JobSpecOrBuilder
    • getManualSelector

      public boolean getManualSelector()
       manualSelector controls generation of pod labels and pod selectors.
       Leave `manualSelector` unset unless you are certain what you are doing.
       When false or unset, the system pick labels unique to this job
       and appends those labels to the pod template.  When true,
       the user is responsible for picking unique labels and specifying
       the selector.  Failure to pick a unique label may cause this
       and other jobs to not function correctly.  However, You may see
       `manualSelector=true` in jobs that were created with the old `extensions/v1beta1`
       API.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
       +optional
       
      optional bool manualSelector = 5;
      Specified by:
      getManualSelector in interface V1Batch.JobSpecOrBuilder
    • hasTemplate

      public boolean hasTemplate()
       Describes the pod that will be created when executing a job.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       
      optional .k8s.io.api.core.v1.PodTemplateSpec template = 6;
      Specified by:
      hasTemplate in interface V1Batch.JobSpecOrBuilder
    • getTemplate

      public V1.PodTemplateSpec getTemplate()
       Describes the pod that will be created when executing a job.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       
      optional .k8s.io.api.core.v1.PodTemplateSpec template = 6;
      Specified by:
      getTemplate in interface V1Batch.JobSpecOrBuilder
    • getTemplateOrBuilder

      public V1.PodTemplateSpecOrBuilder getTemplateOrBuilder()
       Describes the pod that will be created when executing a job.
       More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
       
      optional .k8s.io.api.core.v1.PodTemplateSpec template = 6;
      Specified by:
      getTemplateOrBuilder in interface V1Batch.JobSpecOrBuilder
    • hasTtlSecondsAfterFinished

      public boolean hasTtlSecondsAfterFinished()
       ttlSecondsAfterFinished limits the lifetime of a Job that has finished
       execution (either Complete or Failed). If this field is set,
       ttlSecondsAfterFinished after the Job finishes, it is eligible to be
       automatically deleted. When the Job is being deleted, its lifecycle
       guarantees (e.g. finalizers) will be honored. If this field is unset,
       the Job won't be automatically deleted. If this field is set to zero,
       the Job becomes eligible to be deleted immediately after it finishes.
       +optional
       
      optional int32 ttlSecondsAfterFinished = 8;
      Specified by:
      hasTtlSecondsAfterFinished in interface V1Batch.JobSpecOrBuilder
    • getTtlSecondsAfterFinished

      public int getTtlSecondsAfterFinished()
       ttlSecondsAfterFinished limits the lifetime of a Job that has finished
       execution (either Complete or Failed). If this field is set,
       ttlSecondsAfterFinished after the Job finishes, it is eligible to be
       automatically deleted. When the Job is being deleted, its lifecycle
       guarantees (e.g. finalizers) will be honored. If this field is unset,
       the Job won't be automatically deleted. If this field is set to zero,
       the Job becomes eligible to be deleted immediately after it finishes.
       +optional
       
      optional int32 ttlSecondsAfterFinished = 8;
      Specified by:
      getTtlSecondsAfterFinished in interface V1Batch.JobSpecOrBuilder
    • hasCompletionMode

      public boolean hasCompletionMode()
       CompletionMode specifies how Pod completions are tracked. It can be
       `NonIndexed` (default) or `Indexed`.
       `NonIndexed` means that the Job is considered complete when there have
       been .spec.completions successfully completed Pods. Each Pod completion is
       homologous to each other.
       `Indexed` means that the Pods of a
       Job get an associated completion index from 0 to (.spec.completions - 1),
       available in the annotation batch.kubernetes.io/job-completion-index.
       The Job is considered complete when there is one successfully completed Pod
       for each index.
       When value is `Indexed`, .spec.completions must be specified and
       `.spec.parallelism` must be less than or equal to 10^5.
       In addition, The Pod name takes the form
       `$(job-name)-$(index)-$(random-string)`,
       the Pod hostname takes the form `$(job-name)-$(index)`.
       This field is beta-level. More completion modes can be added in the future.
       If the Job controller observes a mode that it doesn't recognize, the
       controller skips updates for the Job.
       +optional
       
      optional string completionMode = 9;
      Specified by:
      hasCompletionMode in interface V1Batch.JobSpecOrBuilder
    • getCompletionMode

      public String getCompletionMode()
       CompletionMode specifies how Pod completions are tracked. It can be
       `NonIndexed` (default) or `Indexed`.
       `NonIndexed` means that the Job is considered complete when there have
       been .spec.completions successfully completed Pods. Each Pod completion is
       homologous to each other.
       `Indexed` means that the Pods of a
       Job get an associated completion index from 0 to (.spec.completions - 1),
       available in the annotation batch.kubernetes.io/job-completion-index.
       The Job is considered complete when there is one successfully completed Pod
       for each index.
       When value is `Indexed`, .spec.completions must be specified and
       `.spec.parallelism` must be less than or equal to 10^5.
       In addition, The Pod name takes the form
       `$(job-name)-$(index)-$(random-string)`,
       the Pod hostname takes the form `$(job-name)-$(index)`.
       This field is beta-level. More completion modes can be added in the future.
       If the Job controller observes a mode that it doesn't recognize, the
       controller skips updates for the Job.
       +optional
       
      optional string completionMode = 9;
      Specified by:
      getCompletionMode in interface V1Batch.JobSpecOrBuilder
    • getCompletionModeBytes

      public com.google.protobuf.ByteString getCompletionModeBytes()
       CompletionMode specifies how Pod completions are tracked. It can be
       `NonIndexed` (default) or `Indexed`.
       `NonIndexed` means that the Job is considered complete when there have
       been .spec.completions successfully completed Pods. Each Pod completion is
       homologous to each other.
       `Indexed` means that the Pods of a
       Job get an associated completion index from 0 to (.spec.completions - 1),
       available in the annotation batch.kubernetes.io/job-completion-index.
       The Job is considered complete when there is one successfully completed Pod
       for each index.
       When value is `Indexed`, .spec.completions must be specified and
       `.spec.parallelism` must be less than or equal to 10^5.
       In addition, The Pod name takes the form
       `$(job-name)-$(index)-$(random-string)`,
       the Pod hostname takes the form `$(job-name)-$(index)`.
       This field is beta-level. More completion modes can be added in the future.
       If the Job controller observes a mode that it doesn't recognize, the
       controller skips updates for the Job.
       +optional
       
      optional string completionMode = 9;
      Specified by:
      getCompletionModeBytes in interface V1Batch.JobSpecOrBuilder
    • hasSuspend

      public boolean hasSuspend()
       Suspend specifies whether the Job controller should create Pods or not. If
       a Job is created with suspend set to true, no Pods are created by the Job
       controller. If a Job is suspended after creation (i.e. the flag goes from
       false to true), the Job controller will delete all active Pods associated
       with this Job. Users must design their workload to gracefully handle this.
       Suspending a Job will reset the StartTime field of the Job, effectively
       resetting the ActiveDeadlineSeconds timer too. Defaults to false.
       This field is beta-level, gated by SuspendJob feature flag (enabled by
       default).
       +optional
       
      optional bool suspend = 10;
      Specified by:
      hasSuspend in interface V1Batch.JobSpecOrBuilder
    • getSuspend

      public boolean getSuspend()
       Suspend specifies whether the Job controller should create Pods or not. If
       a Job is created with suspend set to true, no Pods are created by the Job
       controller. If a Job is suspended after creation (i.e. the flag goes from
       false to true), the Job controller will delete all active Pods associated
       with this Job. Users must design their workload to gracefully handle this.
       Suspending a Job will reset the StartTime field of the Job, effectively
       resetting the ActiveDeadlineSeconds timer too. Defaults to false.
       This field is beta-level, gated by SuspendJob feature flag (enabled by
       default).
       +optional
       
      optional bool suspend = 10;
      Specified by:
      getSuspend in interface V1Batch.JobSpecOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V1Batch.JobSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Batch.JobSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Batch.JobSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Batch.JobSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1Batch.JobSpec.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1Batch.JobSpec.Builder newBuilder()
    • newBuilder

      public static V1Batch.JobSpec.Builder newBuilder(V1Batch.JobSpec prototype)
    • toBuilder

      public V1Batch.JobSpec.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1Batch.JobSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1Batch.JobSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1Batch.JobSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1Batch.JobSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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