Interface Database.SourceInfoOrBuilder (3.30.0)

public static interface Database.SourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract 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
Type Description
Database.SourceInfo.BackupSource

The backup.

getBackupOrBuilder()

public abstract 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;

Returns
Type Description
Database.SourceInfo.BackupSourceOrBuilder

getOperation()

public abstract 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
Type Description
String

The operation.

getOperationBytes()

public abstract 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
Type Description
ByteString

The bytes for operation.

getSourceCase()

public abstract Database.SourceInfo.SourceCase getSourceCase()
Returns
Type Description
Database.SourceInfo.SourceCase

hasBackup()

public abstract 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
Type Description
boolean

Whether the backup field is set.