Class GetCloudBackupAction.Builder (6.77.0)

public static final class GetCloudBackupAction.Builder extends GeneratedMessageV3.Builder<GetCloudBackupAction.Builder> implements GetCloudBackupActionOrBuilder

Action that gets a Cloud Spanner database backup.

Protobuf type google.spanner.executor.v1.GetCloudBackupAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetCloudBackupAction build()
Returns
Type Description
GetCloudBackupAction

buildPartial()

public GetCloudBackupAction buildPartial()
Returns
Type Description
GetCloudBackupAction

clear()

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

clearBackupId()

public GetCloudBackupAction.Builder clearBackupId()

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

string backup_id = 3;

Returns
Type Description
GetCloudBackupAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceId()

public GetCloudBackupAction.Builder clearInstanceId()

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

string instance_id = 2;

Returns
Type Description
GetCloudBackupAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetCloudBackupAction.Builder clearProjectId()

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

string project_id = 1;

Returns
Type Description
GetCloudBackupAction.Builder

This builder for chaining.

clone()

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

getBackupId()

public String getBackupId()

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

string backup_id = 3;

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public ByteString getBackupIdBytes()

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

string backup_id = 3;

Returns
Type Description
ByteString

The bytes for backupId.

getDefaultInstanceForType()

public GetCloudBackupAction getDefaultInstanceForType()
Returns
Type Description
GetCloudBackupAction

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