Send feedback
Class CloneDatabaseMetadata (3.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class CloneDatabaseMetadata extends GeneratedMessageV3 implements CloneDatabaseMetadataOrBuilder
Metadata for the long-running operation from
the CloneDatabase request.
Protobuf type google.firestore.admin.v1.CloneDatabaseMetadata
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 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 PITR_SNAPSHOT_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 CloneDatabaseMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CloneDatabaseMetadata . Builder newBuilder ()
public static CloneDatabaseMetadata . Builder newBuilder ( CloneDatabaseMetadata prototype )
public static CloneDatabaseMetadata parseDelimitedFrom ( InputStream input )
public static CloneDatabaseMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CloneDatabaseMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CloneDatabaseMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CloneDatabaseMetadata parseFrom ( ByteString data )
public static CloneDatabaseMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CloneDatabaseMetadata parseFrom ( CodedInputStream input )
public static CloneDatabaseMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CloneDatabaseMetadata parseFrom ( InputStream input )
public static CloneDatabaseMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CloneDatabaseMetadata parseFrom ( ByteBuffer data )
public static CloneDatabaseMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CloneDatabaseMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getDatabase ()
The name of the database being cloned to.
string database = 4 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The database.
public ByteString getDatabaseBytes ()
The name of the database being cloned to.
string database = 4 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for database.
public CloneDatabaseMetadata getDefaultInstanceForType ()
public Timestamp getEndTime ()
The time the clone finished, unset for ongoing clones.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
The time the clone finished, unset for ongoing clones.
.google.protobuf.Timestamp end_time = 2;
public OperationState getOperationState ()
The operation state of the clone.
.google.firestore.admin.v1.OperationState operation_state = 3;
public int getOperationStateValue ()
The operation state of the clone.
.google.firestore.admin.v1.OperationState operation_state = 3;
Returns
Type
Description
int
The enum numeric value on the wire for operationState.
public Parser<CloneDatabaseMetadata> getParserForType ()
Overrides
public PitrSnapshot getPitrSnapshot ()
The snapshot from which this database was cloned.
.google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
public PitrSnapshotOrBuilder getPitrSnapshotOrBuilder ()
The snapshot from which this database was cloned.
.google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
public Progress getProgressPercentage ()
How far along the clone is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 6;
Returns
Type
Description
Progress
The progressPercentage.
public ProgressOrBuilder getProgressPercentageOrBuilder ()
How far along the clone is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 6;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The time the clone was started.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The time the clone was started.
.google.protobuf.Timestamp start_time = 1;
public boolean hasEndTime ()
The time the clone finished, unset for ongoing clones.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
boolean
Whether the endTime field is set.
public boolean hasPitrSnapshot ()
The snapshot from which this database was cloned.
.google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
Returns
Type
Description
boolean
Whether the pitrSnapshot field is set.
public boolean hasProgressPercentage ()
How far along the clone is as an estimated percentage of remaining time.
.google.firestore.admin.v1.Progress progress_percentage = 6;
Returns
Type
Description
boolean
Whether the progressPercentage field is set.
public boolean hasStartTime ()
The time the clone 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 CloneDatabaseMetadata . Builder newBuilderForType ()
protected CloneDatabaseMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CloneDatabaseMetadata . 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-09-15 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-09-15 UTC."],[],[],null,[]]