public static final class Database.SourceInfo.BackupSource extends GeneratedMessageV3 implements Database.SourceInfo.BackupSourceOrBuilder
Information about a backup that was used to restore a database.
Protobuf type google.firestore.admin.v1.Database.SourceInfo.BackupSource
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
BACKUP_FIELD_NUMBER
public static final int BACKUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Database.SourceInfo.BackupSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Database.SourceInfo.BackupSource.Builder newBuilder()
newBuilder(Database.SourceInfo.BackupSource prototype)
public static Database.SourceInfo.BackupSource.Builder newBuilder(Database.SourceInfo.BackupSource prototype)
public static Database.SourceInfo.BackupSource parseDelimitedFrom(InputStream input)
public static Database.SourceInfo.BackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Database.SourceInfo.BackupSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo.BackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Database.SourceInfo.BackupSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo.BackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo.BackupSource parseFrom(CodedInputStream input)
public static Database.SourceInfo.BackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo.BackupSource parseFrom(InputStream input)
public static Database.SourceInfo.BackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Database.SourceInfo.BackupSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo.BackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Database.SourceInfo.BackupSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackup()
public String getBackup()
The resource name of the backup that was used to restore this
database. Format:
projects/{project}/locations/{location}/backups/{backup}
.
string backup = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The backup.
|
getBackupBytes()
public ByteString getBackupBytes()
The resource name of the backup that was used to restore this
database. Format:
projects/{project}/locations/{location}/backups/{backup}
.
string backup = 1 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for backup.
|
getDefaultInstanceForType()
public Database.SourceInfo.BackupSource getDefaultInstanceForType()
getParserForType()
public Parser<Database.SourceInfo.BackupSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Database.SourceInfo.BackupSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Database.SourceInfo.BackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Database.SourceInfo.BackupSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides