Package com.google.spanner.executor.v1
Interface CopyCloudBackupActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CopyCloudBackupAction,CopyCloudBackupAction.Builder
public interface CopyCloudBackupActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the backup to be created, e.g.com.google.protobuf.ByteStringThe id of the backup to be created, e.g.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Cloud instance ID (not path), e.g.com.google.protobuf.ByteStringCloud instance ID (not path), e.g.Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.The fully qualified uri of the source backup from which this backup was copied.com.google.protobuf.ByteStringThe fully qualified uri of the source backup from which this backup was copied.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 1;- Returns:
- The bytes for projectId.
-
getInstanceId
String getInstanceId()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 2;- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 2;- Returns:
- The bytes for instanceId.
-
getBackupId
String getBackupId()The id of the backup to be created, e.g. "test-backup".
string backup_id = 3;- Returns:
- The backupId.
-
getBackupIdBytes
com.google.protobuf.ByteString getBackupIdBytes()The id of the backup to be created, e.g. "test-backup".
string backup_id = 3;- Returns:
- The bytes for backupId.
-
getSourceBackup
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:
- The sourceBackup.
-
getSourceBackupBytes
com.google.protobuf.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:
- The bytes for sourceBackup.
-
hasExpireTime
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:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.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:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.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];
-