Interface BackupScheduleOrBuilder (3.20.0)

public interface BackupScheduleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The timestamp at which this backup schedule was created and effective since.

No backups will be created for this schedule before this time.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp at which this backup schedule was created and effective since.

No backups will be created for this schedule before this time.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDailyRecurrence()

public abstract DailyRecurrence getDailyRecurrence()

For a schedule that runs daily at a specified time.

.google.firestore.admin.v1.DailyRecurrence daily_recurrence = 7;

Returns
TypeDescription
DailyRecurrence

The dailyRecurrence.

getDailyRecurrenceOrBuilder()

public abstract DailyRecurrenceOrBuilder getDailyRecurrenceOrBuilder()

For a schedule that runs daily at a specified time.

.google.firestore.admin.v1.DailyRecurrence daily_recurrence = 7;

Returns
TypeDescription
DailyRecurrenceOrBuilder

getName()

public abstract String getName()

Output only. The unique backup schedule identifier across all locations and databases for the given project.

This will be auto-assigned.

Format is projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The unique backup schedule identifier across all locations and databases for the given project.

This will be auto-assigned.

Format is projects/{project}/databases/{database}/backupSchedules/{backup_schedule}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getRecurrenceCase()

public abstract BackupSchedule.RecurrenceCase getRecurrenceCase()
Returns
TypeDescription
BackupSchedule.RecurrenceCase

getRetention()

public abstract Duration getRetention()

At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

.google.protobuf.Duration retention = 6;

Returns
TypeDescription
Duration

The retention.

getRetentionOrBuilder()

public abstract DurationOrBuilder getRetentionOrBuilder()

At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

.google.protobuf.Duration retention = 6;

Returns
TypeDescription
DurationOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getWeeklyRecurrence()

public abstract WeeklyRecurrence getWeeklyRecurrence()

For a schedule that runs weekly on a specific day and time.

.google.firestore.admin.v1.WeeklyRecurrence weekly_recurrence = 8;

Returns
TypeDescription
WeeklyRecurrence

The weeklyRecurrence.

getWeeklyRecurrenceOrBuilder()

public abstract WeeklyRecurrenceOrBuilder getWeeklyRecurrenceOrBuilder()

For a schedule that runs weekly on a specific day and time.

.google.firestore.admin.v1.WeeklyRecurrence weekly_recurrence = 8;

Returns
TypeDescription
WeeklyRecurrenceOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The timestamp at which this backup schedule was created and effective since.

No backups will be created for this schedule before this time.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDailyRecurrence()

public abstract boolean hasDailyRecurrence()

For a schedule that runs daily at a specified time.

.google.firestore.admin.v1.DailyRecurrence daily_recurrence = 7;

Returns
TypeDescription
boolean

Whether the dailyRecurrence field is set.

hasRetention()

public abstract boolean hasRetention()

At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days.

.google.protobuf.Duration retention = 6;

Returns
TypeDescription
boolean

Whether the retention field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The timestamp at which this backup schedule was most recently updated. When a backup schedule is first created, this is the same as create_time.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasWeeklyRecurrence()

public abstract boolean hasWeeklyRecurrence()

For a schedule that runs weekly on a specific day and time.

.google.firestore.admin.v1.WeeklyRecurrence weekly_recurrence = 8;

Returns
TypeDescription
boolean

Whether the weeklyRecurrence field is set.