Package com.google.firestore.admin.v1
Interface RestoreDatabaseMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreDatabaseMetadata,RestoreDatabaseMetadata.Builder
@Generated
public interface RestoreDatabaseMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the backup restoring from.com.google.protobuf.ByteStringThe name of the backup restoring from.The name of the database being restored to.com.google.protobuf.ByteStringThe name of the database being restored to.com.google.protobuf.TimestampThe time the restore finished, unset for ongoing restores.com.google.protobuf.TimestampOrBuilderThe time the restore finished, unset for ongoing restores.The operation state of the restore.intThe operation state of the restore.How far along the restore is as an estimated percentage of remaining time.How far along the restore is as an estimated percentage of remaining time.com.google.protobuf.TimestampThe time the restore was started.com.google.protobuf.TimestampOrBuilderThe time the restore was started.booleanThe time the restore finished, unset for ongoing restores.booleanHow far along the restore is as an estimated percentage of remaining time.booleanThe time the restore was started.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
-
hasStartTime
boolean hasStartTime()The time the restore was started.
.google.protobuf.Timestamp start_time = 1;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()The time the restore was started.
.google.protobuf.Timestamp start_time = 1;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time the restore was started.
.google.protobuf.Timestamp start_time = 1; -
hasEndTime
boolean hasEndTime()The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2; -
getOperationStateValue
int getOperationStateValue()The operation state of the restore.
.google.firestore.admin.v1.OperationState operation_state = 3;- Returns:
- The enum numeric value on the wire for operationState.
-
getOperationState
OperationState getOperationState()The operation state of the restore.
.google.firestore.admin.v1.OperationState operation_state = 3;- Returns:
- The operationState.
-
getDatabase
String getDatabase()The name of the database being restored to.
string database = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()The name of the database being restored to.
string database = 4 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for database.
-
getBackup
String getBackup()The name of the backup restoring from.
string backup = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The backup.
-
getBackupBytes
com.google.protobuf.ByteString getBackupBytes()The name of the backup restoring from.
string backup = 5 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for backup.
-
hasProgressPercentage
boolean hasProgressPercentage()How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;- Returns:
- Whether the progressPercentage field is set.
-
getProgressPercentage
Progress getProgressPercentage()How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;- Returns:
- The progressPercentage.
-
getProgressPercentageOrBuilder
ProgressOrBuilder getProgressPercentageOrBuilder()How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;
-