public static final class V2alpha1Batch.CronJobSpec extends com.google.protobuf.GeneratedMessageV3 implements V2alpha1Batch.CronJobSpecOrBuilder
CronJobSpec describes how the job execution will look like and when it will actually run.Protobuf type
k8s.io.api.batch.v2alpha1.CronJobSpec
Modifier and Type | Class and Description |
---|---|
static class |
V2alpha1Batch.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<V2alpha1Batch.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 V2alpha1Batch.CronJobSpec |
getDefaultInstance() |
V2alpha1Batch.CronJobSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFailedJobsHistoryLimit()
The number of failed finished jobs to retain.
|
V2alpha1Batch.JobTemplateSpec |
getJobTemplate()
Specifies the job that will be created when executing a CronJob.
|
V2alpha1Batch.JobTemplateSpecOrBuilder |
getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
|
com.google.protobuf.Parser<V2alpha1Batch.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 V2alpha1Batch.CronJobSpec.Builder |
newBuilder() |
static V2alpha1Batch.CronJobSpec.Builder |
newBuilder(V2alpha1Batch.CronJobSpec prototype) |
V2alpha1Batch.CronJobSpec.Builder |
newBuilderForType() |
protected V2alpha1Batch.CronJobSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V2alpha1Batch.CronJobSpec |
parseDelimitedFrom(InputStream input) |
static V2alpha1Batch.CronJobSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V2alpha1Batch.CronJobSpec |
parseFrom(byte[] data) |
static V2alpha1Batch.CronJobSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V2alpha1Batch.CronJobSpec |
parseFrom(ByteBuffer data) |
static V2alpha1Batch.CronJobSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V2alpha1Batch.CronJobSpec |
parseFrom(com.google.protobuf.ByteString data) |
static V2alpha1Batch.CronJobSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V2alpha1Batch.CronJobSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V2alpha1Batch.CronJobSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V2alpha1Batch.CronJobSpec |
parseFrom(InputStream input) |
static V2alpha1Batch.CronJobSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V2alpha1Batch.CronJobSpec> |
parser() |
V2alpha1Batch.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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<V2alpha1Batch.CronJobSpec> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;
hasSchedule
in interface V2alpha1Batch.CronJobSpecOrBuilder
public String getSchedule()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;
getSchedule
in interface V2alpha1Batch.CronJobSpecOrBuilder
public com.google.protobuf.ByteString getScheduleBytes()
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
optional string schedule = 1;
getScheduleBytes
in interface V2alpha1Batch.CronJobSpecOrBuilder
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 V2alpha1Batch.CronJobSpecOrBuilder
public 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 V2alpha1Batch.CronJobSpecOrBuilder
public 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 V2alpha1Batch.CronJobSpecOrBuilder
public 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 V2alpha1Batch.CronJobSpecOrBuilder
public 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 V2alpha1Batch.CronJobSpecOrBuilder
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 V2alpha1Batch.CronJobSpecOrBuilder
public 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 V2alpha1Batch.CronJobSpecOrBuilder
public boolean hasJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;
hasJobTemplate
in interface V2alpha1Batch.CronJobSpecOrBuilder
public V2alpha1Batch.JobTemplateSpec getJobTemplate()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;
getJobTemplate
in interface V2alpha1Batch.CronJobSpecOrBuilder
public V2alpha1Batch.JobTemplateSpecOrBuilder getJobTemplateOrBuilder()
Specifies the job that will be created when executing a CronJob.
optional .k8s.io.api.batch.v2alpha1.JobTemplateSpec jobTemplate = 5;
getJobTemplateOrBuilder
in interface V2alpha1Batch.CronJobSpecOrBuilder
public boolean hasSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 successfulJobsHistoryLimit = 6;
hasSuccessfulJobsHistoryLimit
in interface V2alpha1Batch.CronJobSpecOrBuilder
public int getSuccessfulJobsHistoryLimit()
The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 successfulJobsHistoryLimit = 6;
getSuccessfulJobsHistoryLimit
in interface V2alpha1Batch.CronJobSpecOrBuilder
public boolean hasFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 failedJobsHistoryLimit = 7;
hasFailedJobsHistoryLimit
in interface V2alpha1Batch.CronJobSpecOrBuilder
public int getFailedJobsHistoryLimit()
The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. +optional
optional int32 failedJobsHistoryLimit = 7;
getFailedJobsHistoryLimit
in interface V2alpha1Batch.CronJobSpecOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V2alpha1Batch.CronJobSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V2alpha1Batch.CronJobSpec parseFrom(InputStream input) throws IOException
IOException
public static V2alpha1Batch.CronJobSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V2alpha1Batch.CronJobSpec parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V2alpha1Batch.CronJobSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V2alpha1Batch.CronJobSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V2alpha1Batch.CronJobSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V2alpha1Batch.CronJobSpec.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V2alpha1Batch.CronJobSpec.Builder newBuilder()
public static V2alpha1Batch.CronJobSpec.Builder newBuilder(V2alpha1Batch.CronJobSpec prototype)
public V2alpha1Batch.CronJobSpec.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V2alpha1Batch.CronJobSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V2alpha1Batch.CronJobSpec getDefaultInstance()
public static com.google.protobuf.Parser<V2alpha1Batch.CronJobSpec> parser()
public com.google.protobuf.Parser<V2alpha1Batch.CronJobSpec> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V2alpha1Batch.CronJobSpec getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.