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