/*
 * 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/firestore_admin.proto
// Protobuf Java Version: 4.33.2

package com.google.firestore.admin.v1;

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

  /**
   *
   *
   * <pre>
   * The databases in the project.
   * </pre>
   *
   * <code>repeated .google.firestore.admin.v1.Database databases = 1;</code>
   */
  java.util.List<com.google.firestore.admin.v1.Database> getDatabasesList();

  /**
   *
   *
   * <pre>
   * The databases in the project.
   * </pre>
   *
   * <code>repeated .google.firestore.admin.v1.Database databases = 1;</code>
   */
  com.google.firestore.admin.v1.Database getDatabases(int index);

  /**
   *
   *
   * <pre>
   * The databases in the project.
   * </pre>
   *
   * <code>repeated .google.firestore.admin.v1.Database databases = 1;</code>
   */
  int getDatabasesCount();

  /**
   *
   *
   * <pre>
   * The databases in the project.
   * </pre>
   *
   * <code>repeated .google.firestore.admin.v1.Database databases = 1;</code>
   */
  java.util.List<? extends com.google.firestore.admin.v1.DatabaseOrBuilder>
      getDatabasesOrBuilderList();

  /**
   *
   *
   * <pre>
   * The databases in the project.
   * </pre>
   *
   * <code>repeated .google.firestore.admin.v1.Database databases = 1;</code>
   */
  com.google.firestore.admin.v1.DatabaseOrBuilder getDatabasesOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * In the event that data about individual databases cannot be listed they
   * will be recorded here.
   *
   * An example entry might be: projects/some_project/locations/some_location
   * This can happen if the Cloud Region that the Database resides in is
   * currently unavailable.  In this case we can't fetch all the details about
   * the database. You may be able to get a more detailed error message
   * (or possibly fetch the resource) by sending a 'Get' request for the
   * resource or a 'List' request for the specific location.
   * </pre>
   *
   * <code>repeated string unreachable = 3;</code>
   *
   * @return A list containing the unreachable.
   */
  java.util.List<java.lang.String> getUnreachableList();

  /**
   *
   *
   * <pre>
   * In the event that data about individual databases cannot be listed they
   * will be recorded here.
   *
   * An example entry might be: projects/some_project/locations/some_location
   * This can happen if the Cloud Region that the Database resides in is
   * currently unavailable.  In this case we can't fetch all the details about
   * the database. You may be able to get a more detailed error message
   * (or possibly fetch the resource) by sending a 'Get' request for the
   * resource or a 'List' request for the specific location.
   * </pre>
   *
   * <code>repeated string unreachable = 3;</code>
   *
   * @return The count of unreachable.
   */
  int getUnreachableCount();

  /**
   *
   *
   * <pre>
   * In the event that data about individual databases cannot be listed they
   * will be recorded here.
   *
   * An example entry might be: projects/some_project/locations/some_location
   * This can happen if the Cloud Region that the Database resides in is
   * currently unavailable.  In this case we can't fetch all the details about
   * the database. You may be able to get a more detailed error message
   * (or possibly fetch the resource) by sending a 'Get' request for the
   * resource or a 'List' request for the specific location.
   * </pre>
   *
   * <code>repeated string unreachable = 3;</code>
   *
   * @param index The index of the element to return.
   * @return The unreachable at the given index.
   */
  java.lang.String getUnreachable(int index);

  /**
   *
   *
   * <pre>
   * In the event that data about individual databases cannot be listed they
   * will be recorded here.
   *
   * An example entry might be: projects/some_project/locations/some_location
   * This can happen if the Cloud Region that the Database resides in is
   * currently unavailable.  In this case we can't fetch all the details about
   * the database. You may be able to get a more detailed error message
   * (or possibly fetch the resource) by sending a 'Get' request for the
   * resource or a 'List' request for the specific location.
   * </pre>
   *
   * <code>repeated string unreachable = 3;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the unreachable at the given index.
   */
  com.google.protobuf.ByteString getUnreachableBytes(int index);
}
