Class DeleteCloudBackupAction.Builder (6.60.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteCloudBackupAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

build()

public DeleteCloudBackupAction build()
Returns
TypeDescription
DeleteCloudBackupAction

buildPartial()

public DeleteCloudBackupAction buildPartial()
Returns
TypeDescription
DeleteCloudBackupAction

clear()

public DeleteCloudBackupAction.Builder clear()
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

clearBackupId()

public DeleteCloudBackupAction.Builder clearBackupId()

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

string backup_id = 3;

Returns
TypeDescription
DeleteCloudBackupAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeleteCloudBackupAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

clearInstanceId()

public DeleteCloudBackupAction.Builder clearInstanceId()

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

string instance_id = 2;

Returns
TypeDescription
DeleteCloudBackupAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteCloudBackupAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

clearProjectId()

public DeleteCloudBackupAction.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
DeleteCloudBackupAction.Builder

This builder for chaining.

clone()

public DeleteCloudBackupAction.Builder clone()
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

getBackupId()

public String getBackupId()

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

string backup_id = 3;

Returns
TypeDescription
String

The backupId.

getBackupIdBytes()

public ByteString getBackupIdBytes()

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

string backup_id = 3;

Returns
TypeDescription
ByteString

The bytes for backupId.

getDefaultInstanceForType()

public DeleteCloudBackupAction getDefaultInstanceForType()
Returns
TypeDescription
DeleteCloudBackupAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

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

string instance_id = 2;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

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

string instance_id = 2;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteCloudBackupAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteCloudBackupAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

mergeFrom(DeleteCloudBackupAction other)

public DeleteCloudBackupAction.Builder mergeFrom(DeleteCloudBackupAction other)
Parameter
NameDescription
otherDeleteCloudBackupAction
Returns
TypeDescription
DeleteCloudBackupAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCloudBackupAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The backupId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for backupId to set.

Returns
TypeDescription
DeleteCloudBackupAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteCloudBackupAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteCloudBackupAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteCloudBackupAction.Builder
Overrides