Package com.google.firestore.admin.v1
Interface PitrSnapshotOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PitrSnapshot,PitrSnapshot.Builder
@Generated
public interface PitrSnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampRequired.com.google.protobuf.TimestampOrBuilderRequired.booleanRequired.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
-
getDatabase
String getDatabase()Required. The name of the database that this was a snapshot of. Format: `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()Required. The name of the database that this was a snapshot of. Format: `projects/{project}/databases/{database}`.string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for database.
-
getDatabaseUid
com.google.protobuf.ByteString getDatabaseUid()Output only. Public UUID of the database the snapshot was associated with.
bytes database_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The databaseUid.
-
hasSnapshotTime
boolean hasSnapshotTime()Required. Snapshot time of the database.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the snapshotTime field is set.
-
getSnapshotTime
com.google.protobuf.Timestamp getSnapshotTime()Required. Snapshot time of the database.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The snapshotTime.
-
getSnapshotTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder()Required. Snapshot time of the database.
.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];
-