Class IncrementalBackupSpec (6.82.0)

public final class IncrementalBackupSpec extends GeneratedMessageV3 implements IncrementalBackupSpecOrBuilder

The specification for incremental backup chains. An incremental backup stores the delta of changes between a previous backup and the database contents at a given version time. An incremental backup chain consists of a full backup and zero or more successive incremental backups. The first backup created for an incremental backup chain is always a full backup.

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

Static Methods

getDefaultInstance()

public static IncrementalBackupSpec getDefaultInstance()
Returns
Type Description
IncrementalBackupSpec

getDescriptor()

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

newBuilder()

public static IncrementalBackupSpec.Builder newBuilder()
Returns
Type Description
IncrementalBackupSpec.Builder

newBuilder(IncrementalBackupSpec prototype)

public static IncrementalBackupSpec.Builder newBuilder(IncrementalBackupSpec prototype)
Parameter
Name Description
prototype IncrementalBackupSpec
Returns
Type Description
IncrementalBackupSpec.Builder

parseDelimitedFrom(InputStream input)

public static IncrementalBackupSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IncrementalBackupSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IncrementalBackupSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IncrementalBackupSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IncrementalBackupSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IncrementalBackupSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IncrementalBackupSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IncrementalBackupSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IncrementalBackupSpec> parser()
Returns
Type Description
Parser<IncrementalBackupSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IncrementalBackupSpec getDefaultInstanceForType()
Returns
Type Description
IncrementalBackupSpec

getParserForType()

public Parser<IncrementalBackupSpec> getParserForType()
Returns
Type Description
Parser<IncrementalBackupSpec>
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 IncrementalBackupSpec.Builder newBuilderForType()
Returns
Type Description
IncrementalBackupSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IncrementalBackupSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IncrementalBackupSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IncrementalBackupSpec.Builder toBuilder()
Returns
Type Description
IncrementalBackupSpec.Builder

writeTo(CodedOutputStream output)

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