Class Database.SourceInfo.BackupSource (3.30.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Database.SourceInfo.BackupSource

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()
Returns
Type Description
Database.SourceInfo.BackupSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Database.SourceInfo.BackupSource.Builder newBuilder()
Returns
Type Description
Database.SourceInfo.BackupSource.Builder

newBuilder(Database.SourceInfo.BackupSource prototype)

public static Database.SourceInfo.BackupSource.Builder newBuilder(Database.SourceInfo.BackupSource prototype)
Parameter
Name Description
prototype Database.SourceInfo.BackupSource
Returns
Type Description
Database.SourceInfo.BackupSource.Builder

parseDelimitedFrom(InputStream input)

public static Database.SourceInfo.BackupSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Database.SourceInfo.BackupSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Database.SourceInfo.BackupSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Database.SourceInfo.BackupSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Database.SourceInfo.BackupSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Database.SourceInfo.BackupSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Database.SourceInfo.BackupSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Database.SourceInfo.BackupSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Database.SourceInfo.BackupSource> parser()
Returns
Type Description
Parser<BackupSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
Database.SourceInfo.BackupSource

getParserForType()

public Parser<Database.SourceInfo.BackupSource> getParserForType()
Returns
Type Description
Parser<BackupSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Database.SourceInfo.BackupSource.Builder newBuilderForType()
Returns
Type Description
Database.SourceInfo.BackupSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Database.SourceInfo.BackupSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Database.SourceInfo.BackupSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Database.SourceInfo.BackupSource.Builder toBuilder()
Returns
Type Description
Database.SourceInfo.BackupSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException