Interface CopyCloudBackupActionOrBuilder (6.69.0)

public interface CopyCloudBackupActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupId()

public abstract String getBackupId()

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

string backup_id = 3;

Returns
Type Description
String

The backupId.

getBackupIdBytes()

public abstract ByteString getBackupIdBytes()

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

string backup_id = 3;

Returns
Type Description
ByteString

The bytes for backupId.

getExpireTime()

public abstract Timestamp getExpireTime()

Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getInstanceId()

public abstract String getInstanceId()

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

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public abstract 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 abstract String getProjectId()

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

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

getSourceBackup()

public abstract String getSourceBackup()

The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".

string source_backup = 4;

Returns
Type Description
String

The sourceBackup.

getSourceBackupBytes()

public abstract ByteString getSourceBackupBytes()

The fully qualified uri of the source backup from which this backup was copied. eg. "projects/<project_id>/instances/<instance_id>/backups/<backup_id>".

string source_backup = 4;

Returns
Type Description
ByteString

The bytes for sourceBackup.

hasExpireTime()

public abstract boolean hasExpireTime()

Output only. The expiration time of the backup, which must be at least 6 hours and at most 366 days from the time the request is received.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.