Class BackupInfo.Builder (6.74.0)

public static final class BackupInfo.Builder extends GeneratedMessageV3.Builder<BackupInfo.Builder> implements BackupInfoOrBuilder

Information about a backup.

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

Implements

BackupInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackupInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackupInfo.Builder
Overrides

build()

public BackupInfo build()
Returns
Type Description
BackupInfo

buildPartial()

public BackupInfo buildPartial()
Returns
Type Description
BackupInfo

clear()

public BackupInfo.Builder clear()
Returns
Type Description
BackupInfo.Builder
Overrides

clearBackup()

public BackupInfo.Builder clearBackup()

Name of the backup.

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

Returns
Type Description
BackupInfo.Builder

This builder for chaining.

clearCreateTime()

public BackupInfo.Builder clearCreateTime()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
BackupInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public BackupInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackupInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BackupInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackupInfo.Builder
Overrides

clearSourceDatabase()

public BackupInfo.Builder clearSourceDatabase()

Name of the database the backup was created from.

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

Returns
Type Description
BackupInfo.Builder

This builder for chaining.

clearVersionTime()

public BackupInfo.Builder clearVersionTime()

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
Type Description
BackupInfo.Builder

clone()

public BackupInfo.Builder clone()
Returns
Type Description
BackupInfo.Builder
Overrides

getBackup()

public String getBackup()

Name of the backup.

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

Returns
Type Description
String

The backup.

getBackupBytes()

public ByteString getBackupBytes()

Name of the backup.

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

Returns
Type Description
ByteString

The bytes for backup.

getCreateTime()

public Timestamp getCreateTime()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

The time the CreateBackup request was received.

.google.protobuf.Timestamp create_time = 2;