Package com.google.firestore.admin.v1
Interface Database.SourceInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Database.SourceInfo,Database.SourceInfo.Builder
- Enclosing class:
- Database
public static interface Database.SourceInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf set, this database was restored from the specified backup (or a snapshot thereof).If set, this database was restored from the specified backup (or a snapshot thereof).The associated long-running operation.com.google.protobuf.ByteStringThe associated long-running operation.booleanIf set, this database was restored from the specified backup (or a snapshot thereof).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
-
hasBackup
boolean hasBackup()If set, this database was restored from the specified backup (or a snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;- Returns:
- Whether the backup field is set.
-
getBackup
Database.SourceInfo.BackupSource getBackup()If set, this database was restored from the specified backup (or a snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;- Returns:
- The backup.
-
getBackupOrBuilder
Database.SourceInfo.BackupSourceOrBuilder getBackupOrBuilder()If set, this database was restored from the specified backup (or a snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1; -
getOperation
String getOperation()The associated long-running operation. This field may not be set after the operation has completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.string operation = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The operation.
-
getOperationBytes
com.google.protobuf.ByteString getOperationBytes()The associated long-running operation. This field may not be set after the operation has completed. Format: `projects/{project}/databases/{database}/operations/{operation}`.string operation = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for operation.
-
getSourceCase
Database.SourceInfo.SourceCase getSourceCase()
-