public static final class CloneDatabaseMetadata.Builder extends GeneratedMessageV3.Builder<CloneDatabaseMetadata.Builder> implements CloneDatabaseMetadataOrBuilderMetadata for the long-running operation from the CloneDatabase request.
 Protobuf type google.firestore.admin.v1.CloneDatabaseMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloneDatabaseMetadata.BuilderImplements
CloneDatabaseMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloneDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
build()
public CloneDatabaseMetadata build()| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata | |
buildPartial()
public CloneDatabaseMetadata buildPartial()| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata | |
clear()
public CloneDatabaseMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearDatabase()
public CloneDatabaseMetadata.Builder clearDatabase()The name of the database being cloned to.
 string database = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
clearEndTime()
public CloneDatabaseMetadata.Builder clearEndTime()The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearField(Descriptors.FieldDescriptor field)
public CloneDatabaseMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloneDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearOperationState()
public CloneDatabaseMetadata.Builder clearOperationState()The operation state of the clone.
 .google.firestore.admin.v1.OperationState operation_state = 3;
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
clearPitrSnapshot()
public CloneDatabaseMetadata.Builder clearPitrSnapshot()The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearProgressPercentage()
public CloneDatabaseMetadata.Builder clearProgressPercentage()How far along the clone is as an estimated percentage of remaining time.
 .google.firestore.admin.v1.Progress progress_percentage = 6;
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clearStartTime()
public CloneDatabaseMetadata.Builder clearStartTime()The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
clone()
public CloneDatabaseMetadata.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
getDatabase()
public String getDatabase()The name of the database being cloned to.
 string database = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| String | The database. | 
getDatabaseBytes()
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. | 
getDefaultInstanceForType()
public CloneDatabaseMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getEndTime()
public Timestamp getEndTime()The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The endTime. | 
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getOperationState()
public OperationState getOperationState()The operation state of the clone.
 .google.firestore.admin.v1.OperationState operation_state = 3;
| Returns | |
|---|---|
| Type | Description | 
| OperationState | The operationState. | 
getOperationStateValue()
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. | 
getPitrSnapshot()
public PitrSnapshot getPitrSnapshot()The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Returns | |
|---|---|
| Type | Description | 
| PitrSnapshot | The pitrSnapshot. | 
getPitrSnapshotBuilder()
public PitrSnapshot.Builder getPitrSnapshotBuilder()The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Returns | |
|---|---|
| Type | Description | 
| PitrSnapshot.Builder | |
getPitrSnapshotOrBuilder()
public PitrSnapshotOrBuilder getPitrSnapshotOrBuilder()The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Returns | |
|---|---|
| Type | Description | 
| PitrSnapshotOrBuilder | |
getProgressPercentage()
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. | 
getProgressPercentageBuilder()
public Progress.Builder getProgressPercentageBuilder()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.Builder | |
getProgressPercentageOrBuilder()
public ProgressOrBuilder getProgressPercentageOrBuilder()How far along the clone is as an estimated percentage of remaining time.
 .google.firestore.admin.v1.Progress progress_percentage = 6;
| Returns | |
|---|---|
| Type | Description | 
| ProgressOrBuilder | |
getStartTime()
public Timestamp getStartTime()The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The startTime. | 
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasEndTime()
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. | 
hasPitrSnapshot()
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. | 
hasProgressPercentage()
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. | 
hasStartTime()
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. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeEndTime(Timestamp value)
public CloneDatabaseMetadata.Builder mergeEndTime(Timestamp value)The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergeFrom(CloneDatabaseMetadata other)
public CloneDatabaseMetadata.Builder mergeFrom(CloneDatabaseMetadata other)| Parameter | |
|---|---|
| Name | Description | 
| other | CloneDatabaseMetadata | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloneDatabaseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public CloneDatabaseMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergePitrSnapshot(PitrSnapshot value)
public CloneDatabaseMetadata.Builder mergePitrSnapshot(PitrSnapshot value)The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | PitrSnapshot | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergeProgressPercentage(Progress value)
public CloneDatabaseMetadata.Builder mergeProgressPercentage(Progress value)How far along the clone is as an estimated percentage of remaining time.
 .google.firestore.admin.v1.Progress progress_percentage = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | Progress | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergeStartTime(Timestamp value)
public CloneDatabaseMetadata.Builder mergeStartTime(Timestamp value)The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloneDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setDatabase(String value)
public CloneDatabaseMetadata.Builder setDatabase(String value)The name of the database being cloned to.
 string database = 4 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe database to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
setDatabaseBytes(ByteString value)
public CloneDatabaseMetadata.Builder setDatabaseBytes(ByteString value)The name of the database being cloned to.
 string database = 4 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for database to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
setEndTime(Timestamp value)
public CloneDatabaseMetadata.Builder setEndTime(Timestamp value)The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setEndTime(Timestamp.Builder builderForValue)
public CloneDatabaseMetadata.Builder setEndTime(Timestamp.Builder builderForValue)The time the clone finished, unset for ongoing clones.
 .google.protobuf.Timestamp end_time = 2;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public CloneDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setOperationState(OperationState value)
public CloneDatabaseMetadata.Builder setOperationState(OperationState value)The operation state of the clone.
 .google.firestore.admin.v1.OperationState operation_state = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | OperationStateThe operationState to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
setOperationStateValue(int value)
public CloneDatabaseMetadata.Builder setOperationStateValue(int value)The operation state of the clone.
 .google.firestore.admin.v1.OperationState operation_state = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for operationState to set. | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | This builder for chaining. | 
setPitrSnapshot(PitrSnapshot value)
public CloneDatabaseMetadata.Builder setPitrSnapshot(PitrSnapshot value)The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | PitrSnapshot | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setPitrSnapshot(PitrSnapshot.Builder builderForValue)
public CloneDatabaseMetadata.Builder setPitrSnapshot(PitrSnapshot.Builder builderForValue)The snapshot from which this database was cloned.
 .google.firestore.admin.v1.PitrSnapshot pitr_snapshot = 7;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | PitrSnapshot.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setProgressPercentage(Progress value)
public CloneDatabaseMetadata.Builder setProgressPercentage(Progress value)How far along the clone is as an estimated percentage of remaining time.
 .google.firestore.admin.v1.Progress progress_percentage = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | Progress | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setProgressPercentage(Progress.Builder builderForValue)
public CloneDatabaseMetadata.Builder setProgressPercentage(Progress.Builder builderForValue)How far along the clone is as an estimated percentage of remaining time.
 .google.firestore.admin.v1.Progress progress_percentage = 6;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Progress.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloneDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setStartTime(Timestamp value)
public CloneDatabaseMetadata.Builder setStartTime(Timestamp value)The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setStartTime(Timestamp.Builder builderForValue)
public CloneDatabaseMetadata.Builder setStartTime(Timestamp.Builder builderForValue)The time the clone was started.
 .google.protobuf.Timestamp start_time = 1;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloneDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| CloneDatabaseMetadata.Builder | |