Interface BackupInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BackupInfo,BackupInfo.Builder
public interface BackupInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of the backup.com.google.protobuf.ByteStringName of the backup.com.google.protobuf.TimestampThe time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.com.google.protobuf.TimestampOrBuilderThe time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.Name of the database the backup was created from.com.google.protobuf.ByteStringName of the database the backup was created from.com.google.protobuf.TimestampThe backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.com.google.protobuf.TimestampOrBuilderThe backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.booleanThe time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.booleanThe backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.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
-
getBackup
String getBackup()Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The backup.
-
getBackupBytes
com.google.protobuf.ByteString getBackupBytes()Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for backup.
-
hasVersionTime
boolean hasVersionTime()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4;- Returns:
- Whether the versionTime field is set.
-
getVersionTime
com.google.protobuf.Timestamp getVersionTime()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4;- Returns:
- The versionTime.
-
getVersionTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getVersionTimeOrBuilder()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4; -
hasCreateTime
boolean hasCreateTime()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2; -
getSourceDatabase
String getSourceDatabase()Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The sourceDatabase.
-
getSourceDatabaseBytes
com.google.protobuf.ByteString getSourceDatabaseBytes()Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for sourceDatabase.
-