Class DeleteCloudBackupAction.Builder (6.108.0)

public static final class DeleteCloudBackupAction.Builder extends GeneratedMessage.Builder<DeleteCloudBackupAction.Builder> implements DeleteCloudBackupActionOrBuilder

Action that deletes a Cloud Spanner database backup.

Protobuf type google.spanner.executor.v1.DeleteCloudBackupAction

Static Methods

getDescriptor()

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

Methods

build()

public DeleteCloudBackupAction build()
Returns
Type Description
DeleteCloudBackupAction

buildPartial()

public DeleteCloudBackupAction buildPartial()
Returns
Type Description
DeleteCloudBackupAction

clear()

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

clearBackupId()

public DeleteCloudBackupAction.Builder clearBackupId()

The id of the backup to delete, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

clearInstanceId()

public DeleteCloudBackupAction.Builder clearInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

clearProjectId()

public DeleteCloudBackupAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

getBackupId()

public String getBackupId()

The id of the backup to delete, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public ByteString getBackupIdBytes()

The id of the backup to delete, e.g. "test-backup".

string backup_id = 3;

Returns
Type Description
ByteString

The bytes for backupId.

getDefaultInstanceForType()

public DeleteCloudBackupAction getDefaultInstanceForType()
Returns
Type Description
DeleteCloudBackupAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteCloudBackupAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteCloudBackupAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteCloudBackupAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteCloudBackupAction.Builder
Overrides

mergeFrom(DeleteCloudBackupAction other)

public DeleteCloudBackupAction.Builder mergeFrom(DeleteCloudBackupAction other)
Parameter
Name Description
other DeleteCloudBackupAction
Returns
Type Description
DeleteCloudBackupAction.Builder

setBackupId(String value)

public DeleteCloudBackupAction.Builder setBackupId(String value)

The id of the backup to delete, e.g. "test-backup".

string backup_id = 3;

Parameter
Name Description
value String

The backupId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

setBackupIdBytes(ByteString value)

public DeleteCloudBackupAction.Builder setBackupIdBytes(ByteString value)

The id of the backup to delete, e.g. "test-backup".

string backup_id = 3;

Parameter
Name Description
value ByteString

The bytes for backupId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

setInstanceId(String value)

public DeleteCloudBackupAction.Builder setInstanceId(String value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public DeleteCloudBackupAction.Builder setInstanceIdBytes(ByteString value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

setProjectId(String value)

public DeleteCloudBackupAction.Builder setProjectId(String value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public DeleteCloudBackupAction.Builder setProjectIdBytes(ByteString value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
DeleteCloudBackupAction.Builder

This builder for chaining.