Package com.google.cloud.gkebackup.v1
Interface BackupPlan.ScheduleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BackupPlan.Schedule
,BackupPlan.Schedule.Builder
- Enclosing class:
- BackupPlan
public static interface BackupPlan.ScheduleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCronSchedule()
A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan.com.google.protobuf.ByteString
getCronScheduleBytes()
A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan.boolean
getPaused()
This flag denotes whether automatic Backup creation is paused for this BackupPlan.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCronSchedule
String getCronSchedule()
A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] must also be defined. Default (empty): no automatic backup creation will occur.
string cron_schedule = 1;
- Returns:
- The cronSchedule.
-
getCronScheduleBytes
com.google.protobuf.ByteString getCronScheduleBytes()
A standard [cron](https://wikipedia.com/wiki/cron) string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] must also be defined. Default (empty): no automatic backup creation will occur.
string cron_schedule = 1;
- Returns:
- The bytes for cronSchedule.
-
getPaused
boolean getPaused()
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
bool paused = 2;
- Returns:
- The paused.
-
-