Package com.google.firestore.admin.v1
Interface Database.SourceInfo.BackupSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Database.SourceInfo.BackupSource,Database.SourceInfo.BackupSource.Builder
- Enclosing class:
- Database.SourceInfo
public static interface Database.SourceInfo.BackupSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe resource name of the backup that was used to restore this database.com.google.protobuf.ByteStringThe resource name of the backup that was used to restore this database.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
-
getBackup
String getBackup()The resource name of the backup that was used to restore this database. Format: `projects/{project}/locations/{location}/backups/{backup}`.string backup = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The backup.
-
getBackupBytes
com.google.protobuf.ByteString getBackupBytes()The resource name of the backup that was used to restore this database. Format: `projects/{project}/locations/{location}/backups/{backup}`.string backup = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for backup.
-