A standard cron string that defines a
repeating schedule for creating Backups via this BackupPlan. If this is
defined, then
backup_retain_days
must also be defined.
Default (empty): no automatic backup creation will occur.
A standard cron string that defines a
repeating schedule for creating Backups via this BackupPlan. If this is
defined, then
backup_retain_days
must also be defined.
Default (empty): no automatic backup creation will occur.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface BackupPlan.ScheduleOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.gkebackup.v1.BackupPlan.ScheduleOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.gkebackup.v1.BackupPlan.ScheduleOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.gkebackup.v1.BackupPlan.ScheduleOrBuilder) \n\n public static interface BackupPlan.ScheduleOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCronSchedule()\n\n public abstract String getCronSchedule()\n\nA standard [cron](https://wikipedia.com/wiki/cron) string that defines a\nrepeating schedule for creating Backups via this BackupPlan. If this is\ndefined, then\nbackup_retain_days\nmust also be defined.\nDefault (empty): no automatic backup creation will occur.\n\n`string cron_schedule = 1;`\n\n### getCronScheduleBytes()\n\n public abstract ByteString getCronScheduleBytes()\n\nA standard [cron](https://wikipedia.com/wiki/cron) string that defines a\nrepeating schedule for creating Backups via this BackupPlan. If this is\ndefined, then\nbackup_retain_days\nmust also be defined.\nDefault (empty): no automatic backup creation will occur.\n\n`string cron_schedule = 1;`\n\n### getPaused()\n\n public abstract boolean getPaused()\n\nThis flag denotes whether automatic Backup creation is paused for this\nBackupPlan.\nDefault: False\n\n`bool paused = 2;`"]]