Class DeleteCloudBackupAction.Builder (6.82.0)

public static final class DeleteCloudBackupAction.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCloudBackupAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCloudBackupAction.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteCloudBackupAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteCloudBackupAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCloudBackupAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteCloudBackupAction.Builder
Overrides