Send feedback
Class Database.SourceInfo.Builder (3.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.28.0 keyboard_arrow_down
public static final class Database . SourceInfo . Builder extends GeneratedMessageV3 . Builder<Database . SourceInfo . Builder > implements Database . SourceInfoOrBuilder
Information about the provenance of this database.
Protobuf type google.firestore.admin.v1.Database.SourceInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Database . SourceInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Database . SourceInfo build ()
buildPartial()
public Database . SourceInfo buildPartial ()
clear()
public Database . SourceInfo . Builder clear ()
Overrides
clearBackup()
public Database . SourceInfo . Builder clearBackup ()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
clearField(Descriptors.FieldDescriptor field)
public Database . SourceInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Database . SourceInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearOperation()
public Database . SourceInfo . Builder clearOperation ()
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
clearSource()
public Database . SourceInfo . Builder clearSource ()
clone()
public Database . SourceInfo . Builder clone ()
Overrides
getBackup()
public Database . SourceInfo . BackupSource getBackup ()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
getBackupBuilder()
public Database . SourceInfo . BackupSource . Builder getBackupBuilder ()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
getBackupOrBuilder()
public Database . SourceInfo . BackupSourceOrBuilder getBackupOrBuilder ()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
getDefaultInstanceForType()
public Database . SourceInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getOperation()
public String getOperation ()
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The operation.
getOperationBytes()
public ByteString getOperationBytes ()
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for operation.
getSourceCase()
public Database . SourceInfo . SourceCase getSourceCase ()
hasBackup()
public boolean hasBackup ()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
Returns
Type
Description
boolean
Whether the backup field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeBackup(Database.SourceInfo.BackupSource value)
public Database . SourceInfo . Builder mergeBackup ( Database . SourceInfo . BackupSource value )
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
mergeFrom(Database.SourceInfo other)
public Database . SourceInfo . Builder mergeFrom ( Database . SourceInfo other )
public Database . SourceInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Database . SourceInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Database . SourceInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setBackup(Database.SourceInfo.BackupSource value)
public Database . SourceInfo . Builder setBackup ( Database . SourceInfo . BackupSource value )
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
setBackup(Database.SourceInfo.BackupSource.Builder builderForValue)
public Database . SourceInfo . Builder setBackup ( Database . SourceInfo . BackupSource . Builder builderForValue )
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public Database . SourceInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setOperation(String value)
public Database . SourceInfo . Builder setOperation ( String value )
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The operation to set.
setOperationBytes(ByteString value)
public Database . SourceInfo . Builder setOperationBytes ( ByteString value )
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for operation to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Database . SourceInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Database . SourceInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-28 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-28 UTC."],[],[]]