Class BackupInfo (6.89.0)

publicfinalclassBackupInfoextendsGeneratedMessageV3implementsBackupInfoOrBuilder

Information about a backup.

Protobuf type google.spanner.admin.database.v1.BackupInfo

Static Fields

BACKUP_FIELD_NUMBER

publicstaticfinalintBACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_DATABASE_FIELD_NUMBER

publicstaticfinalintSOURCE_DATABASE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_TIME_FIELD_NUMBER

publicstaticfinalintVERSION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticBackupInfogetDefaultInstance()
Returns
TypeDescription
BackupInfo

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticBackupInfo.BuildernewBuilder()
Returns
TypeDescription
BackupInfo.Builder

newBuilder(BackupInfo prototype)

publicstaticBackupInfo.BuildernewBuilder(BackupInfoprototype)
Parameter
NameDescription
prototypeBackupInfo
Returns
TypeDescription
BackupInfo.Builder

parseDelimitedFrom(InputStream input)

publicstaticBackupInfoparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticBackupInfoparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBackupInfoparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBackupInfoparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticBackupInfoparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticBackupInfoparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBackupInfoparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<BackupInfo>parser()
Returns
TypeDescription
Parser<BackupInfo>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBackup()

publicStringgetBackup()

Name of the backup.

string backup = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The backup.

getBackupBytes()

publicByteStringgetBackupBytes()

Name of the backup.

string backup = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for backup.

getCreateTime()

publicTimestampgetCreateTime()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

publicBackupInfogetDefaultInstanceForType()
Returns
TypeDescription
BackupInfo

getParserForType()

publicParser<BackupInfo>getParserForType()
Returns
TypeDescription
Parser<BackupInfo>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceDatabase()

publicStringgetSourceDatabase()

Name of the database the backup was created from.

string source_database = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The sourceDatabase.

getSourceDatabaseBytes()

publicByteStringgetSourceDatabaseBytes()

Name of the database the backup was created from.

string source_database = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for sourceDatabase.

getVersionTime()

publicTimestampgetVersionTime()

The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.

.google.protobuf.Timestamp version_time = 4;

Returns
TypeDescription
Timestamp

The versionTime.

getVersionTimeOrBuilder()

publicTimestampOrBuildergetVersionTimeOrBuilder()

The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.

.google.protobuf.Timestamp version_time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

publicbooleanhasCreateTime()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasVersionTime()

publicbooleanhasVersionTime()

The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.

.google.protobuf.Timestamp version_time = 4;

Returns
TypeDescription
boolean

Whether the versionTime field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicBackupInfo.BuildernewBuilderForType()
Returns
TypeDescription
BackupInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBackupInfo.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BackupInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicBackupInfo.BuildertoBuilder()
Returns
TypeDescription
BackupInfo.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException