Package io.kubernetes.client.proto
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 ClassesModifier and TypeClassDescriptionstatic final classJobSpec 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1Batch.JobSpec>Deprecated.static final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongSpecifies 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.intSpecifies the number of retries before marking this job failed.CompletionMode specifies how Pod completions are tracked.com.google.protobuf.ByteStringCompletionMode specifies how Pod completions are tracked.intSpecifies the desired number of successfully finished pods the job should be run with.static V1Batch.JobSpecstatic final com.google.protobuf.Descriptors.DescriptorbooleanmanualSelector controls generation of pod labels and pod selectors.intSpecifies 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.intbooleanSuspend 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.intttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed).final com.google.protobuf.UnknownFieldSetbooleanSpecifies 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.booleanSpecifies the number of retries before marking this job failed.booleanCompletionMode specifies how Pod completions are tracked.booleanSpecifies the desired number of successfully finished pods the job should be run with.inthashCode()booleanmanualSelector controls generation of pod labels and pod selectors.booleanSpecifies the maximum desired number of pods the job should run at any given time.booleanA label query over pods that should match the pod count.booleanSuspend specifies whether the Job controller should create Pods or not.booleanDescribes the pod that will be created when executing a job.booleanttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1Batch.JobSpec.Builderstatic V1Batch.JobSpec.BuildernewBuilder(V1Batch.JobSpec prototype) protected V1Batch.JobSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1Batch.JobSpecparseDelimitedFrom(InputStream input) static V1Batch.JobSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Batch.JobSpecparseFrom(byte[] data) static V1Batch.JobSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Batch.JobSpecparseFrom(com.google.protobuf.ByteString data) static V1Batch.JobSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Batch.JobSpecparseFrom(com.google.protobuf.CodedInputStream input) static V1Batch.JobSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Batch.JobSpecparseFrom(InputStream input) static V1Batch.JobSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Batch.JobSpecparseFrom(ByteBuffer data) static V1Batch.JobSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1Batch.JobSpec>parser()voidwriteTo(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, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
hasParallelismin interfaceV1Batch.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:
getParallelismin interfaceV1Batch.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:
hasCompletionsin interfaceV1Batch.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:
getCompletionsin interfaceV1Batch.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:
hasActiveDeadlineSecondsin interfaceV1Batch.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:
getActiveDeadlineSecondsin interfaceV1Batch.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:
hasBackoffLimitin interfaceV1Batch.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:
getBackoffLimitin interfaceV1Batch.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:
hasSelectorin interfaceV1Batch.JobSpecOrBuilder
-
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:
getSelectorin interfaceV1Batch.JobSpecOrBuilder
-
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:
getSelectorOrBuilderin interfaceV1Batch.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:
hasManualSelectorin interfaceV1Batch.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:
getManualSelectorin interfaceV1Batch.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:
hasTemplatein interfaceV1Batch.JobSpecOrBuilder
-
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:
getTemplatein interfaceV1Batch.JobSpecOrBuilder
-
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:
getTemplateOrBuilderin interfaceV1Batch.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:
hasTtlSecondsAfterFinishedin interfaceV1Batch.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:
getTtlSecondsAfterFinishedin interfaceV1Batch.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:
hasCompletionModein interfaceV1Batch.JobSpecOrBuilder
-
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:
getCompletionModein interfaceV1Batch.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:
getCompletionModeBytesin interfaceV1Batch.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:
hasSuspendin interfaceV1Batch.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:
getSuspendin interfaceV1Batch.JobSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static V1Batch.JobSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Batch.JobSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-