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

package com.google.firestore.admin.v1;

@com.google.protobuf.Generated
public final class IndexProto extends com.google.protobuf.GeneratedFile {
  private IndexProto() {}

  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 33,
        /* patch= */ 2,
        /* suffix= */ "",
        "IndexProto");
  }

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_firestore_admin_v1_Index_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_firestore_admin_v1_Index_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_FlatIndex_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_FlatIndex_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n"
          + "%google/firestore/admin/v1/index.proto\022"
          + "\031google.firestore.admin.v1\032\037google/api/f"
          + "ield_behavior.proto\032\031google/api/resource.proto\"\202\013\n"
          + "\005Index\022\014\n"
          + "\004name\030\001 \001(\t\022@\n"
          + "\013query_scope\030\002 \001(\0162+.google.firestore.admin.v1.Index.QueryScope\022<\n"
          + "\tapi_scope\030\005 \001(\0162).google.firestore.admin.v1.Index.ApiScope\022;\n"
          + "\006fields\030\003 \003(\0132+.google.firestore.admin.v1.Index.IndexField\0225\n"
          + "\005state\030\004 \001(\0162&.google.firestore.admin.v1.Index.State\022>\n"
          + "\007density\030\006"
          + " \001(\0162(.google.firestore.admin.v1.Index.DensityB\003\340A\005\022\025\n"
          + "\010multikey\030\007 \001(\010B\003\340A\001\022\030\n"
          + "\013shard_count\030\010 \001(\005B\003\340A\001\022\023\n"
          + "\006unique\030\n"
          + " \001(\010B\003\340A\001\032\242\004\n\n"
          + "IndexField\022\022\n\n"
          + "field_path\030\001 \001(\t\022B\n"
          + "\005order\030\002"
          + " \001(\01621.google.firestore.admin.v1.Index.IndexField.OrderH\000\022O\n"
          + "\014array_config\030\003"
          + " \001(\01627.google.firestore.admin.v1.Index.IndexField.ArrayConfigH\000\022Q\n\r"
          + "vector_config\030\004"
          + " \001(\01328.google.firestore.admin.v1.Index.IndexField.VectorConfigH\000\032\217\001\n"
          + "\014VectorConfig\022\026\n"
          + "\tdimension\030\001 \001(\005B\003\340A\002\022R\n"
          + "\004flat\030\002 \001(\0132B.google.firestore.admin.v1.I"
          + "ndex.IndexField.VectorConfig.FlatIndexH\000\032\013\n"
          + "\tFlatIndexB\006\n"
          + "\004type\"=\n"
          + "\005Order\022\025\n"
          + "\021ORDER_UNSPECIFIED\020\000\022\r\n"
          + "\tASCENDING\020\001\022\016\n\n"
          + "DESCENDING\020\002\"9\n"
          + "\013ArrayConfig\022\034\n"
          + "\030ARRAY_CONFIG_UNSPECIFIED\020\000\022\014\n"
          + "\010CONTAINS\020\001B\014\n\n"
          + "value_mode\"i\n"
          + "\n"
          + "QueryScope\022\033\n"
          + "\027QUERY_SCOPE_UNSPECIFIED\020\000\022\016\n\n"
          + "COLLECTION\020\001\022\024\n"
          + "\020COLLECTION_GROUP\020\002\022\030\n"
          + "\024COLLECTION_RECURSIVE\020\003\"K\n"
          + "\010ApiScope\022\013\n"
          + "\007ANY_API\020\000\022\026\n"
          + "\022DATASTORE_MODE_API\020\001\022\032\n"
          + "\026MONGODB_COMPATIBLE_API\020\002\"I\n"
          + "\005State\022\025\n"
          + "\021STATE_UNSPECIFIED\020\000\022\014\n"
          + "\010CREATING\020\001\022\t\n"
          + "\005READY\020\002\022\020\n"
          + "\014NEEDS_REPAIR\020\003\"M\n"
          + "\007Density\022\027\n"
          + "\023DENSITY_UNSPECIFIED\020\000\022\016\n\n"
          + "SPARSE_ALL\020\001\022\016\n\n"
          + "SPARSE_ANY\020\002\022\t\n"
          + "\005DENSE\020\003:z\352Aw\n"
          + "\036firestore.googleapis.com/Index\022Uprojects/{project}/databas"
          + "es/{database}/collectionGroups/{collection}/indexes/{index}B\331\001\n"
          + "\035com.google.firestore.admin.v1B\n"
          + "IndexProtoP\001Z9cloud.google.com/go/firestore/apiv1/admin/adminpb;a"
          + "dminpb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.A"
          + "dmin.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V"
          + "1\352\002#Google::Cloud::Firestore::Admin::V1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
            });
    internal_static_google_firestore_admin_v1_Index_descriptor = getDescriptor().getMessageType(0);
    internal_static_google_firestore_admin_v1_Index_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_firestore_admin_v1_Index_descriptor,
            new java.lang.String[] {
              "Name",
              "QueryScope",
              "ApiScope",
              "Fields",
              "State",
              "Density",
              "Multikey",
              "ShardCount",
              "Unique",
            });
    internal_static_google_firestore_admin_v1_Index_IndexField_descriptor =
        internal_static_google_firestore_admin_v1_Index_descriptor.getNestedType(0);
    internal_static_google_firestore_admin_v1_Index_IndexField_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_firestore_admin_v1_Index_IndexField_descriptor,
            new java.lang.String[] {
              "FieldPath", "Order", "ArrayConfig", "VectorConfig", "ValueMode",
            });
    internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_descriptor =
        internal_static_google_firestore_admin_v1_Index_IndexField_descriptor.getNestedType(0);
    internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_descriptor,
            new java.lang.String[] {
              "Dimension", "Flat", "Type",
            });
    internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_FlatIndex_descriptor =
        internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_descriptor
            .getNestedType(0);
    internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_FlatIndex_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_firestore_admin_v1_Index_IndexField_VectorConfig_FlatIndex_descriptor,
            new java.lang.String[] {});
    descriptor.resolveAllFeaturesImmutable();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
