Interface CreateBackupScheduleRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateBackupScheduleRequest,CreateBackupScheduleRequest.Builder
public interface CreateBackupScheduleRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getBackupScheduleId
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:
- The backupScheduleId.
-
getBackupScheduleIdBytes
com.google.protobuf.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:
- The bytes for backupScheduleId.
-
hasBackupSchedule
boolean hasBackupSchedule()Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the backupSchedule field is set.
-
getBackupSchedule
BackupSchedule getBackupSchedule()Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The backupSchedule.
-
getBackupScheduleOrBuilder
BackupScheduleOrBuilder getBackupScheduleOrBuilder()Required. The backup schedule to create.
.google.spanner.admin.database.v1.BackupSchedule backup_schedule = 3 [(.google.api.field_behavior) = REQUIRED];
-