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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBackup()Name of the backup.com.google.protobuf.ByteStringgetBackupBytes()Name of the backup.com.google.protobuf.TimestampgetCreateTime()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.StringgetSourceDatabase()Name of the database the backup was created from.com.google.protobuf.ByteStringgetSourceDatabaseBytes()Name of the database the backup was created from.com.google.protobuf.TimestampgetVersionTime()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.com.google.protobuf.TimestampOrBuildergetVersionTimeOrBuilder()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.booleanhasCreateTime()The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.booleanhasVersionTime()The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-