public interface CreateCloudBackupActionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |
getDatabaseId()
public abstract String getDatabaseId()
The id of the database from which this backup was created, e.g. "db0". Note that this needs to be in the same instance as the backup.
string database_id = 4;
Returns | |
---|---|
Type | Description |
String |
The databaseId. |
getDatabaseIdBytes()
public abstract ByteString getDatabaseIdBytes()
The id of the database from which this backup was created, e.g. "db0". Note that this needs to be in the same instance as the backup.
string database_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for databaseId. |
getEncryptionConfig()
public abstract EncryptionConfig getEncryptionConfig()
The KMS key(s) used to encrypt the backup to be created if the backup should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
Returns | |
---|---|
Type | Description |
EncryptionConfig |
The encryptionConfig. |
getEncryptionConfigOrBuilder()
public abstract EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
The KMS key(s) used to encrypt the backup to be created if the backup should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
Returns | |
---|---|
Type | Description |
EncryptionConfigOrBuilder |
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. |
getVersionTime()
public abstract Timestamp getVersionTime()
The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).
optional .google.protobuf.Timestamp version_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The versionTime. |
getVersionTimeOrBuilder()
public abstract TimestampOrBuilder getVersionTimeOrBuilder()
The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).
optional .google.protobuf.Timestamp version_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasEncryptionConfig()
public abstract boolean hasEncryptionConfig()
The KMS key(s) used to encrypt the backup to be created if the backup should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the encryptionConfig field is set. |
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. |
hasVersionTime()
public abstract boolean hasVersionTime()
The version time of the backup, which must be within the time range of [earliest_version_time, NOW], where earliest_version_time is retrieved by cloud spanner frontend API (See details: go/cs-pitr-lite-design).
optional .google.protobuf.Timestamp version_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the versionTime field is set. |