public static final class V1Batch.CronJobSpec extends com.google.protobuf.GeneratedMessageV3 implements V1Batch.CronJobSpecOrBuilder
CronJobSpec describes how the job execution will look like and when it will actually run.Protobuf type
k8s.io.api.batch.v1.CronJobSpec| Modifier and Type | Class and Description |
|---|---|
static class |
V1Batch.CronJobSpec.Builder
CronJobSpec describes how the job execution will look like and when it will actually run.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
CONCURRENCYPOLICY_FIELD_NUMBER |
static int |
FAILEDJOBSHISTORYLIMIT_FIELD_NUMBER |
static int |
JOBTEMPLATE_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Batch.CronJobSpec> |
PARSER
Deprecated.
|
static int |
SCHEDULE_FIELD_NUMBER |
static int |
STARTINGDEADLINESECONDS_FIELD_NUMBER |
static int |
SUCCESSFULJOBSHISTORYLIMIT_FIELD_NUMBER |
static int |
SUSPEND_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static V1Batch.CronJobSpec |
getDefaultInstance() |
V1Batch.CronJobSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V1Batch.JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
V1Batch.JobTemplateSpecOrBuilder |
getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
|
com.google.protobuf.Parser<V1Batch.CronJobSpec> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job.
|
boolean |
hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
int |
hashCode() |
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() |
static V1Batch.CronJobSpec.Builder |
newBuilder() |
static V1Batch.CronJobSpec.Builder |
newBuilder(V1Batch.CronJobSpec prototype) |
V1Batch.CronJobSpec.Builder |
newBuilderForType() |
protected V1Batch.CronJobSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Batch.CronJobSpec |
parseDelimitedFrom(InputStream input) |
static V1Batch.CronJobSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.CronJobSpec |
parseFrom(byte[] data) |
static V1Batch.CronJobSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.CronJobSpec |
parseFrom(ByteBuffer data) |
static V1Batch.CronJobSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.CronJobSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V1Batch.CronJobSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.CronJobSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Batch.CronJobSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.CronJobSpec |
parseFrom(InputStream input) |
static V1Batch.CronJobSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Batch.CronJobSpec> |
parser() |
V1Batch.CronJobSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SCHEDULE_FIELD_NUMBER
public static final int STARTINGDEADLINESECONDS_FIELD_NUMBER
public static final int CONCURRENCYPOLICY_FIELD_NUMBER
public static final int SUSPEND_FIELD_NUMBER
public static final int JOBTEMPLATE_FIELD_NUMBER
public static final int SUCCESSFULJOBSHISTORYLIMIT_FIELD_NUMBER
public static final int FAILEDJOBSHISTORYLIMIT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Batch.CronJobSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;hasSchedule in interface V1Batch.CronJobSpecOrBuilderpublic String getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;getSchedule in interface V1Batch.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 V1Batch.CronJobSpecOrBuilderpublic 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 V1Batch.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 V1Batch.CronJobSpecOrBuilderpublic boolean hasConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;hasConcurrencyPolicy in interface V1Batch.CronJobSpecOrBuilderpublic String getConcurrencyPolicy()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;getConcurrencyPolicy in interface V1Batch.CronJobSpecOrBuilderpublic com.google.protobuf.ByteString getConcurrencyPolicyBytes()
Specifies how to treat concurrent executions of a Job. Valid values are: - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one +optional
optional string concurrencyPolicy = 3;getConcurrencyPolicyBytes in interface V1Batch.CronJobSpecOrBuilderpublic 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 V1Batch.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 V1Batch.CronJobSpecOrBuilderpublic boolean hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;hasJobTemplate in interface V1Batch.CronJobSpecOrBuilderpublic V1Batch.JobTemplateSpec getJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;getJobTemplate in interface V1Batch.CronJobSpecOrBuilderpublic V1Batch.JobTemplateSpecOrBuilder getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;getJobTemplateOrBuilder in interface V1Batch.CronJobSpecOrBuilderpublic boolean hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;hasSuccessfulJobsHistoryLimit in interface V1Batch.CronJobSpecOrBuilderpublic int getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. +optional
optional int32 successfulJobsHistoryLimit = 6;getSuccessfulJobsHistoryLimit in interface V1Batch.CronJobSpecOrBuilderpublic boolean hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;hasFailedJobsHistoryLimit in interface V1Batch.CronJobSpecOrBuilderpublic int getFailedJobsHistoryLimit()
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. +optional
optional int32 failedJobsHistoryLimit = 7;getFailedJobsHistoryLimit in interface V1Batch.CronJobSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Batch.CronJobSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.CronJobSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Batch.CronJobSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Batch.CronJobSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Batch.CronJobSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Batch.CronJobSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Batch.CronJobSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Batch.CronJobSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Batch.CronJobSpec.Builder newBuilder()
public static V1Batch.CronJobSpec.Builder newBuilder(V1Batch.CronJobSpec prototype)
public V1Batch.CronJobSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Batch.CronJobSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Batch.CronJobSpec getDefaultInstance()
public static com.google.protobuf.Parser<V1Batch.CronJobSpec> parser()
public com.google.protobuf.Parser<V1Batch.CronJobSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Batch.CronJobSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.