Interface V1Batch.CronJobSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Batch.CronJobSpec, V1Batch.CronJobSpec.Builder
Enclosing class:
V1Batch

public static interface V1Batch.CronJobSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Specifies how to treat concurrent executions of a Job.
    com.google.protobuf.ByteString
    Specifies how to treat concurrent executions of a Job.
    int
    The number of failed finished jobs to retain.
    Specifies the job that will be created when executing a CronJob.
    Specifies the job that will be created when executing a CronJob.
    The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
    com.google.protobuf.ByteString
    The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
    long
    Optional deadline in seconds for starting the job if it misses scheduled time for any reason.
    int
    The number of successful finished jobs to retain.
    boolean
    This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.
    boolean
    Specifies how to treat concurrent executions of a Job.
    boolean
    The number of failed finished jobs to retain.
    boolean
    Specifies the job that will be created when executing a CronJob.
    boolean
    The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
    boolean
    Optional deadline in seconds for starting the job if it misses scheduled time for any reason.
    boolean
    The number of successful finished jobs to retain.
    boolean
    This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSchedule

      boolean hasSchedule()
       The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
       
      optional string schedule = 1;
    • getSchedule

      String getSchedule()
       The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
       
      optional string schedule = 1;
    • getScheduleBytes

      com.google.protobuf.ByteString getScheduleBytes()
       The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
       
      optional string schedule = 1;
    • hasStartingDeadlineSeconds

      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;
    • getStartingDeadlineSeconds

      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;
    • hasConcurrencyPolicy

      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;
    • getConcurrencyPolicy

      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;
    • getConcurrencyPolicyBytes

      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;
    • hasSuspend

      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;
    • getSuspend

      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;
    • hasJobTemplate

      boolean hasJobTemplate()
       Specifies the job that will be created when executing a CronJob.
       
      optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;
    • getJobTemplate

      V1Batch.JobTemplateSpec getJobTemplate()
       Specifies the job that will be created when executing a CronJob.
       
      optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;
    • getJobTemplateOrBuilder

      V1Batch.JobTemplateSpecOrBuilder getJobTemplateOrBuilder()
       Specifies the job that will be created when executing a CronJob.
       
      optional .k8s.io.api.batch.v1.JobTemplateSpec jobTemplate = 5;
    • hasSuccessfulJobsHistoryLimit

      boolean hasSuccessfulJobsHistoryLimit()
       The number of successful finished jobs to retain. Value must be non-negative integer.
       Defaults to 3.
       +optional
       
      optional int32 successfulJobsHistoryLimit = 6;
    • getSuccessfulJobsHistoryLimit

      int getSuccessfulJobsHistoryLimit()
       The number of successful finished jobs to retain. Value must be non-negative integer.
       Defaults to 3.
       +optional
       
      optional int32 successfulJobsHistoryLimit = 6;
    • hasFailedJobsHistoryLimit

      boolean hasFailedJobsHistoryLimit()
       The number of failed finished jobs to retain. Value must be non-negative integer.
       Defaults to 1.
       +optional
       
      optional int32 failedJobsHistoryLimit = 7;
    • getFailedJobsHistoryLimit

      int getFailedJobsHistoryLimit()
       The number of failed finished jobs to retain. Value must be non-negative integer.
       Defaults to 1.
       +optional
       
      optional int32 failedJobsHistoryLimit = 7;