/*
 * Copyright 2026 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/firestore/admin/v1/snapshot.proto
// Protobuf Java Version: 4.33.2

package com.google.firestore.admin.v1;

@com.google.protobuf.Generated
public interface PitrSnapshotOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.PitrSnapshot)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The name of the database that this was a snapshot of. Format:
   * `projects/{project}/databases/{database}`.
   * </pre>
   *
   * <code>
   * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The database.
   */
  java.lang.String getDatabase();

  /**
   *
   *
   * <pre>
   * Required. The name of the database that this was a snapshot of. Format:
   * `projects/{project}/databases/{database}`.
   * </pre>
   *
   * <code>
   * string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for database.
   */
  com.google.protobuf.ByteString getDatabaseBytes();

  /**
   *
   *
   * <pre>
   * Output only. Public UUID of the database the snapshot was associated with.
   * </pre>
   *
   * <code>bytes database_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The databaseUid.
   */
  com.google.protobuf.ByteString getDatabaseUid();

  /**
   *
   *
   * <pre>
   * Required. Snapshot time of the database.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the snapshotTime field is set.
   */
  boolean hasSnapshotTime();

  /**
   *
   *
   * <pre>
   * Required. Snapshot time of the database.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The snapshotTime.
   */
  com.google.protobuf.Timestamp getSnapshotTime();

  /**
   *
   *
   * <pre>
   * Required. Snapshot time of the database.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp snapshot_time = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder();
}
