Class RestoreDatabaseMetadata (3.31.9)
3.41.0 (latest)
3.38.0
3.37.0
3.36.0
3.35.1
3.33.4
3.32.2
3.31.9
3.30.11
3.28.0
3.27.2
3.26.5
3.25.1
3.24.3
3.22.0
3.21.4
3.20.0
3.17.0
3.16.3
3.15.7
3.14.4
3.13.2
3.12.1
3.11.0
3.10.0
3.9.6
3.8.2
3.7.10
3.6.0
3.5.0
3.4.2
3.3.0
3.2.0
3.1.0
3.0.21
public final class RestoreDatabaseMetadata extends GeneratedMessageV3 implements RestoreDatabaseMetadataOrBuilder
Metadata for the long-running operation from
the RestoreDatabase request.
Protobuf type google.firestore.admin.v1.RestoreDatabaseMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BACKUP_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DATABASE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OPERATION_STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PROGRESS_PERCENTAGE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static RestoreDatabaseMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static RestoreDatabaseMetadata . Builder newBuilder ()
public static RestoreDatabaseMetadata . Builder newBuilder ( RestoreDatabaseMetadata prototype )
public static RestoreDatabaseMetadata parseDelimitedFrom ( InputStream input )
public static RestoreDatabaseMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RestoreDatabaseMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static RestoreDatabaseMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static RestoreDatabaseMetadata parseFrom ( ByteString data )
public static RestoreDatabaseMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RestoreDatabaseMetadata parseFrom ( CodedInputStream input )
public static RestoreDatabaseMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RestoreDatabaseMetadata parseFrom ( InputStream input )
public static RestoreDatabaseMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RestoreDatabaseMetadata parseFrom ( ByteBuffer data )
public static RestoreDatabaseMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<RestoreDatabaseMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getBackup ()
The name of the backup restoring from.
string backup = 5 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The backup.
public ByteString getBackupBytes ()
The name of the backup restoring from.
string backup = 5 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for backup.
public String getDatabase ()
The name of the database being restored to.
string database = 4 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The database.
public ByteString getDatabaseBytes ()
The name of the database being restored to.
string database = 4 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for database.
public RestoreDatabaseMetadata getDefaultInstanceForType ()
public Timestamp getEndTime ()
The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2;
public OperationState getOperationState ()
The operation state of the restore.
.google.firestore.admin.v1.OperationState operation_state = 3;
public int getOperationStateValue ()
The operation state of the restore.
.google.firestore.admin.v1.OperationState operation_state = 3;
Returns
Type
Description
int
The enum numeric value on the wire for operationState.
public Parser<RestoreDatabaseMetadata> getParserForType ()
Overrides
public Progress getProgressPercentage ()
How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;
Returns
Type
Description
Progress
The progressPercentage.
public ProgressOrBuilder getProgressPercentageOrBuilder ()
How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The time the restore was started.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The time the restore was started.
.google.protobuf.Timestamp start_time = 1;
public boolean hasEndTime ()
The time the restore finished, unset for ongoing restores.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
boolean
Whether the endTime field is set.
public boolean hasProgressPercentage ()
How far along the restore is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 8;
Returns
Type
Description
boolean
Whether the progressPercentage field is set.
public boolean hasStartTime ()
The time the restore was started.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
boolean
Whether the startTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RestoreDatabaseMetadata . Builder newBuilderForType ()
protected RestoreDatabaseMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public RestoreDatabaseMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]