Send feedback
Class RestoreDatabaseMetadata (3.21.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.21.1 keyboard_arrow_down
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
Send feedback
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 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]