Interface CreateBackupScheduleRequestOrBuilder (6.77.0)

public interface CreateBackupScheduleRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupSchedule()

public abstract BackupSchedule getBackupSchedule()

Required. The backup schedule to create.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupSchedule

The backupSchedule.

getBackupScheduleId()

public abstract String getBackupScheduleId()

Required. The Id to use for the backup schedule. The backup_schedule_id appended to parent forms the full backup schedule name of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backupScheduleId.

getBackupScheduleIdBytes()

public abstract ByteString getBackupScheduleIdBytes()

Required. The Id to use for the backup schedule. The backup_schedule_id appended to parent forms the full backup schedule name of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

string backup_schedule_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backupScheduleId.

getBackupScheduleOrBuilder()

public abstract BackupScheduleOrBuilder getBackupScheduleOrBuilder()

Required. The backup schedule to create.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BackupScheduleOrBuilder

getParent()

public abstract String getParent()

Required. The name of the database that this backup schedule applies to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the database that this backup schedule applies to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasBackupSchedule()

public abstract boolean hasBackupSchedule()

Required. The backup schedule to create.

.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the backupSchedule field is set.