public static final class V1beta1Batch.CronJobSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder> implements V1beta1Batch.CronJobSpecOrBuilder
CronJobSpec describes how the job execution will look like and when it will actually run.Protobuf type
k8s.io.api.batch.v1beta1.CronJobSpec| Modifier and Type | Method and Description |
|---|---|
V1beta1Batch.CronJobSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Batch.CronJobSpec |
build() |
V1beta1Batch.CronJobSpec |
buildPartial() |
V1beta1Batch.CronJobSpec.Builder |
clear() |
V1beta1Batch.CronJobSpec.Builder |
clearConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
V1beta1Batch.CronJobSpec.Builder |
clearFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V1beta1Batch.CronJobSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Batch.CronJobSpec.Builder |
clearJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.CronJobSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Batch.CronJobSpec.Builder |
clearSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
V1beta1Batch.CronJobSpec.Builder |
clearStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
V1beta1Batch.CronJobSpec.Builder |
clearSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
V1beta1Batch.CronJobSpec.Builder |
clearSuspend()
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
V1beta1Batch.CronJobSpec.Builder |
clone() |
String |
getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
com.google.protobuf.ByteString |
getConcurrencyPolicyBytes()
Specifies how to treat concurrent executions of a Job.
|
V1beta1Batch.CronJobSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V1beta1Batch.JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.JobTemplateSpec.Builder |
getJobTemplateBuilder()
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.JobTemplateSpecOrBuilder |
getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
|
String |
getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
com.google.protobuf.ByteString |
getScheduleBytes()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
long |
getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
int |
getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
boolean |
getSuspend()
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
boolean |
hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
boolean |
hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
boolean |
hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
boolean |
hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
boolean |
hasStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
boolean |
hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain.
|
boolean |
hasSuspend()
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Batch.CronJobSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Batch.CronJobSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Batch.CronJobSpec.Builder |
mergeFrom(V1beta1Batch.CronJobSpec other) |
V1beta1Batch.CronJobSpec.Builder |
mergeJobTemplate(V1beta1Batch.JobTemplateSpec value)
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.CronJobSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Batch.CronJobSpec.Builder |
setConcurrencyPolicy(String value)
Specifies how to treat concurrent executions of a Job.
|
V1beta1Batch.CronJobSpec.Builder |
setConcurrencyPolicyBytes(com.google.protobuf.ByteString value)
Specifies how to treat concurrent executions of a Job.
|
V1beta1Batch.CronJobSpec.Builder |
setFailedJobsHistoryLimit(int value)
The number of failed finished jobs to retain.
|
V1beta1Batch.CronJobSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Batch.CronJobSpec.Builder |
setJobTemplate(V1beta1Batch.JobTemplateSpec.Builder builderForValue)
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.CronJobSpec.Builder |
setJobTemplate(V1beta1Batch.JobTemplateSpec value)
Specifies the job that will be created when executing a CronJob.
|
V1beta1Batch.CronJobSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Batch.CronJobSpec.Builder |
setSchedule(String value)
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
V1beta1Batch.CronJobSpec.Builder |
setScheduleBytes(com.google.protobuf.ByteString value)
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
V1beta1Batch.CronJobSpec.Builder |
setStartingDeadlineSeconds(long value)
Optional deadline in seconds for starting the job if it misses scheduled
time for any reason.
|
V1beta1Batch.CronJobSpec.Builder |
setSuccessfulJobsHistoryLimit(int value)
The number of successful finished jobs to retain.
|
V1beta1Batch.CronJobSpec.Builder |
setSuspend(boolean value)
This flag tells the controller to suspend subsequent executions, it does
not apply to already started executions.
|
V1beta1Batch.CronJobSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Batch.CronJobSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Batch.CronJobSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Batch.CronJobSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder mergeFrom(V1beta1Batch.CronJobSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public V1beta1Batch.CronJobSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Batch.CronJobSpec.Builder>IOExceptionpublic boolean hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;hasSchedule in interface V1beta1Batch.CronJobSpecOrBuilderpublic String getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;getSchedule in interface V1beta1Batch.CronJobSpecOrBuilderpublic com.google.protobuf.ByteString getScheduleBytes()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;getScheduleBytes in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setSchedule(String value)
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;public V1beta1Batch.CronJobSpec.Builder clearSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;public V1beta1Batch.CronJobSpec.Builder setScheduleBytes(com.google.protobuf.ByteString value)
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;public boolean hasStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;hasStartingDeadlineSeconds in interface V1beta1Batch.CronJobSpecOrBuilderpublic long getStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;getStartingDeadlineSeconds in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setStartingDeadlineSeconds(long value)
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;public V1beta1Batch.CronJobSpec.Builder clearStartingDeadlineSeconds()
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. +optional
optional int64 startingDeadlineSeconds = 2;public boolean hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;hasConcurrencyPolicy in interface V1beta1Batch.CronJobSpecOrBuilderpublic String getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;getConcurrencyPolicy in interface V1beta1Batch.CronJobSpecOrBuilderpublic com.google.protobuf.ByteString getConcurrencyPolicyBytes()
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;getConcurrencyPolicyBytes in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setConcurrencyPolicy(String value)
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;public V1beta1Batch.CronJobSpec.Builder clearConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;public V1beta1Batch.CronJobSpec.Builder setConcurrencyPolicyBytes(com.google.protobuf.ByteString value)
Specifies how to treat concurrent executions of a Job. Defaults to Allow. +optional
optional string concurrencyPolicy = 3;public boolean hasSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;hasSuspend in interface V1beta1Batch.CronJobSpecOrBuilderpublic boolean getSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;getSuspend in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setSuspend(boolean value)
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;public V1beta1Batch.CronJobSpec.Builder clearSuspend()
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. +optional
optional bool suspend = 4;public boolean hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;hasJobTemplate in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.JobTemplateSpec getJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;getJobTemplate in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setJobTemplate(V1beta1Batch.JobTemplateSpec value)
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;public V1beta1Batch.CronJobSpec.Builder setJobTemplate(V1beta1Batch.JobTemplateSpec.Builder builderForValue)
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;public V1beta1Batch.CronJobSpec.Builder mergeJobTemplate(V1beta1Batch.JobTemplateSpec value)
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;public V1beta1Batch.CronJobSpec.Builder clearJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;public V1beta1Batch.JobTemplateSpec.Builder getJobTemplateBuilder()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;public V1beta1Batch.JobTemplateSpecOrBuilder getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1beta1.JobTemplateSpec jobTemplate = 5;getJobTemplateOrBuilder in interface V1beta1Batch.CronJobSpecOrBuilderpublic boolean hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;hasSuccessfulJobsHistoryLimit in interface V1beta1Batch.CronJobSpecOrBuilderpublic int getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;getSuccessfulJobsHistoryLimit in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setSuccessfulJobsHistoryLimit(int value)
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;public V1beta1Batch.CronJobSpec.Builder clearSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;public boolean hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;hasFailedJobsHistoryLimit in interface V1beta1Batch.CronJobSpecOrBuilderpublic int getFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;getFailedJobsHistoryLimit in interface V1beta1Batch.CronJobSpecOrBuilderpublic V1beta1Batch.CronJobSpec.Builder setFailedJobsHistoryLimit(int value)
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;public V1beta1Batch.CronJobSpec.Builder clearFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;public final V1beta1Batch.CronJobSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>public final V1beta1Batch.CronJobSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Batch.CronJobSpec.Builder>Copyright © 2018. All rights reserved.