// Copyright 2023 Greptime Team
//
// 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
//
//     http://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.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        v3.21.6
// source: greptime/v1/index/vector_index.proto

package index

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Vector index engine types.
type VectorIndexEngine int32

const (
	VectorIndexEngine_VECTOR_INDEX_ENGINE_USEARCH VectorIndexEngine = 0
)

// Enum value maps for VectorIndexEngine.
var (
	VectorIndexEngine_name = map[int32]string{
		0: "VECTOR_INDEX_ENGINE_USEARCH",
	}
	VectorIndexEngine_value = map[string]int32{
		"VECTOR_INDEX_ENGINE_USEARCH": 0,
	}
)

func (x VectorIndexEngine) Enum() *VectorIndexEngine {
	p := new(VectorIndexEngine)
	*p = x
	return p
}

func (x VectorIndexEngine) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (VectorIndexEngine) Descriptor() protoreflect.EnumDescriptor {
	return file_greptime_v1_index_vector_index_proto_enumTypes[0].Descriptor()
}

func (VectorIndexEngine) Type() protoreflect.EnumType {
	return &file_greptime_v1_index_vector_index_proto_enumTypes[0]
}

func (x VectorIndexEngine) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use VectorIndexEngine.Descriptor instead.
func (VectorIndexEngine) EnumDescriptor() ([]byte, []int) {
	return file_greptime_v1_index_vector_index_proto_rawDescGZIP(), []int{0}
}

// Vector distance metrics.
type VectorDistanceMetric int32

const (
	VectorDistanceMetric_VECTOR_DISTANCE_METRIC_L2SQ          VectorDistanceMetric = 0
	VectorDistanceMetric_VECTOR_DISTANCE_METRIC_COSINE        VectorDistanceMetric = 1
	VectorDistanceMetric_VECTOR_DISTANCE_METRIC_INNER_PRODUCT VectorDistanceMetric = 2
)

// Enum value maps for VectorDistanceMetric.
var (
	VectorDistanceMetric_name = map[int32]string{
		0: "VECTOR_DISTANCE_METRIC_L2SQ",
		1: "VECTOR_DISTANCE_METRIC_COSINE",
		2: "VECTOR_DISTANCE_METRIC_INNER_PRODUCT",
	}
	VectorDistanceMetric_value = map[string]int32{
		"VECTOR_DISTANCE_METRIC_L2SQ":          0,
		"VECTOR_DISTANCE_METRIC_COSINE":        1,
		"VECTOR_DISTANCE_METRIC_INNER_PRODUCT": 2,
	}
)

func (x VectorDistanceMetric) Enum() *VectorDistanceMetric {
	p := new(VectorDistanceMetric)
	*p = x
	return p
}

func (x VectorDistanceMetric) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (VectorDistanceMetric) Descriptor() protoreflect.EnumDescriptor {
	return file_greptime_v1_index_vector_index_proto_enumTypes[1].Descriptor()
}

func (VectorDistanceMetric) Type() protoreflect.EnumType {
	return &file_greptime_v1_index_vector_index_proto_enumTypes[1]
}

func (x VectorDistanceMetric) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use VectorDistanceMetric.Descriptor instead.
func (VectorDistanceMetric) EnumDescriptor() ([]byte, []int) {
	return file_greptime_v1_index_vector_index_proto_rawDescGZIP(), []int{1}
}

// Metadata for a vector index blob (stored as footer).
type VectorIndexMeta struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Index engine type.
	Engine VectorIndexEngine `protobuf:"varint,1,opt,name=engine,proto3,enum=greptime.v1.index.VectorIndexEngine" json:"engine,omitempty"`
	// Vector dimension.
	Dim uint32 `protobuf:"varint,2,opt,name=dim,proto3" json:"dim,omitempty"`
	// Distance metric.
	Metric VectorDistanceMetric `protobuf:"varint,3,opt,name=metric,proto3,enum=greptime.v1.index.VectorDistanceMetric" json:"metric,omitempty"`
	// HNSW connectivity parameter.
	Connectivity uint32 `protobuf:"varint,4,opt,name=connectivity,proto3" json:"connectivity,omitempty"`
	// HNSW expansion factor during index construction.
	ExpansionAdd uint32 `protobuf:"varint,5,opt,name=expansion_add,json=expansionAdd,proto3" json:"expansion_add,omitempty"`
	// HNSW expansion factor during search.
	ExpansionSearch uint32 `protobuf:"varint,6,opt,name=expansion_search,json=expansionSearch,proto3" json:"expansion_search,omitempty"`
	// Byte length of the null bitmap (RoaringBitmap serialized).
	NullBitmapSize uint32 `protobuf:"varint,7,opt,name=null_bitmap_size,json=nullBitmapSize,proto3" json:"null_bitmap_size,omitempty"`
	// Byte length of the vector index data (engine-specific serialized format).
	IndexSize uint64 `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
	// Statistics about the vector index.
	Stats *VectorIndexStats `protobuf:"bytes,9,opt,name=stats,proto3" json:"stats,omitempty"`
}

func (x *VectorIndexMeta) Reset() {
	*x = VectorIndexMeta{}
	if protoimpl.UnsafeEnabled {
		mi := &file_greptime_v1_index_vector_index_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *VectorIndexMeta) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VectorIndexMeta) ProtoMessage() {}

func (x *VectorIndexMeta) ProtoReflect() protoreflect.Message {
	mi := &file_greptime_v1_index_vector_index_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VectorIndexMeta.ProtoReflect.Descriptor instead.
func (*VectorIndexMeta) Descriptor() ([]byte, []int) {
	return file_greptime_v1_index_vector_index_proto_rawDescGZIP(), []int{0}
}

func (x *VectorIndexMeta) GetEngine() VectorIndexEngine {
	if x != nil {
		return x.Engine
	}
	return VectorIndexEngine_VECTOR_INDEX_ENGINE_USEARCH
}

func (x *VectorIndexMeta) GetDim() uint32 {
	if x != nil {
		return x.Dim
	}
	return 0
}

func (x *VectorIndexMeta) GetMetric() VectorDistanceMetric {
	if x != nil {
		return x.Metric
	}
	return VectorDistanceMetric_VECTOR_DISTANCE_METRIC_L2SQ
}

func (x *VectorIndexMeta) GetConnectivity() uint32 {
	if x != nil {
		return x.Connectivity
	}
	return 0
}

func (x *VectorIndexMeta) GetExpansionAdd() uint32 {
	if x != nil {
		return x.ExpansionAdd
	}
	return 0
}

func (x *VectorIndexMeta) GetExpansionSearch() uint32 {
	if x != nil {
		return x.ExpansionSearch
	}
	return 0
}

func (x *VectorIndexMeta) GetNullBitmapSize() uint32 {
	if x != nil {
		return x.NullBitmapSize
	}
	return 0
}

func (x *VectorIndexMeta) GetIndexSize() uint64 {
	if x != nil {
		return x.IndexSize
	}
	return 0
}

func (x *VectorIndexMeta) GetStats() *VectorIndexStats {
	if x != nil {
		return x.Stats
	}
	return nil
}

// Statistics for a vector index.
type VectorIndexStats struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Total number of rows in the SST.
	TotalRowCount uint64 `protobuf:"varint,1,opt,name=total_row_count,json=totalRowCount,proto3" json:"total_row_count,omitempty"`
	// Number of rows with valid vectors (indexed).
	IndexedRowCount uint64 `protobuf:"varint,2,opt,name=indexed_row_count,json=indexedRowCount,proto3" json:"indexed_row_count,omitempty"`
	// Number of null vectors.
	NullCount uint64 `protobuf:"varint,3,opt,name=null_count,json=nullCount,proto3" json:"null_count,omitempty"`
}

func (x *VectorIndexStats) Reset() {
	*x = VectorIndexStats{}
	if protoimpl.UnsafeEnabled {
		mi := &file_greptime_v1_index_vector_index_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *VectorIndexStats) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VectorIndexStats) ProtoMessage() {}

func (x *VectorIndexStats) ProtoReflect() protoreflect.Message {
	mi := &file_greptime_v1_index_vector_index_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VectorIndexStats.ProtoReflect.Descriptor instead.
func (*VectorIndexStats) Descriptor() ([]byte, []int) {
	return file_greptime_v1_index_vector_index_proto_rawDescGZIP(), []int{1}
}

func (x *VectorIndexStats) GetTotalRowCount() uint64 {
	if x != nil {
		return x.TotalRowCount
	}
	return 0
}

func (x *VectorIndexStats) GetIndexedRowCount() uint64 {
	if x != nil {
		return x.IndexedRowCount
	}
	return 0
}

func (x *VectorIndexStats) GetNullCount() uint64 {
	if x != nil {
		return x.NullCount
	}
	return 0
}

var File_greptime_v1_index_vector_index_proto protoreflect.FileDescriptor

var file_greptime_v1_index_vector_index_proto_rawDesc = []byte{
	0x0a, 0x24, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e,
	0x64, 0x65, 0x78, 0x2f, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x9a, 0x03, 0x0a, 0x0f, 0x56, 0x65,
	0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3c, 0x0a,
	0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
	0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x64, 0x65,
	0x78, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x6e, 0x67,
	0x69, 0x6e, 0x65, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x64,
	0x69, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x12, 0x3f, 0x0a,
	0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e,
	0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x64, 0x65,
	0x78, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
	0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x22,
	0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, 0x04,
	0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x76, 0x69,
	0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
	0x61, 0x64, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x61, 0x6e,
	0x73, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x61, 0x6e,
	0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28,
	0x0d, 0x52, 0x0f, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72,
	0x63, 0x68, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x62, 0x69, 0x74, 0x6d, 0x61,
	0x70, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6e, 0x75,
	0x6c, 0x6c, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
	0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04,
	0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x73,
	0x74, 0x61, 0x74, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65,
	0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x56,
	0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52,
	0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x63, 0x74, 0x6f,
	0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x74,
	0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x6f, 0x77, 0x43, 0x6f,
	0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x5f, 0x72,
	0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
	0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
	0x1d, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
	0x01, 0x28, 0x04, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x34,
	0x0a, 0x11, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x6e, 0x67,
	0x69, 0x6e, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x49, 0x4e,
	0x44, 0x45, 0x58, 0x5f, 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x41, 0x52,
	0x43, 0x48, 0x10, 0x00, 0x2a, 0x84, 0x01, 0x0a, 0x14, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x44,
	0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x1f, 0x0a,
	0x1b, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45,
	0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x4c, 0x32, 0x53, 0x51, 0x10, 0x00, 0x12, 0x21,
	0x0a, 0x1d, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43,
	0x45, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x43, 0x4f, 0x53, 0x49, 0x4e, 0x45, 0x10,
	0x01, 0x12, 0x28, 0x0a, 0x24, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x44, 0x49, 0x53, 0x54,
	0x41, 0x4e, 0x43, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x4e, 0x45,
	0x52, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x54, 0x10, 0x02, 0x42, 0x3d, 0x5a, 0x3b, 0x67,
	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69,
	0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
	0x65, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
	0x6f, 0x33,
}

var (
	file_greptime_v1_index_vector_index_proto_rawDescOnce sync.Once
	file_greptime_v1_index_vector_index_proto_rawDescData = file_greptime_v1_index_vector_index_proto_rawDesc
)

func file_greptime_v1_index_vector_index_proto_rawDescGZIP() []byte {
	file_greptime_v1_index_vector_index_proto_rawDescOnce.Do(func() {
		file_greptime_v1_index_vector_index_proto_rawDescData = protoimpl.X.CompressGZIP(file_greptime_v1_index_vector_index_proto_rawDescData)
	})
	return file_greptime_v1_index_vector_index_proto_rawDescData
}

var file_greptime_v1_index_vector_index_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_greptime_v1_index_vector_index_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_greptime_v1_index_vector_index_proto_goTypes = []interface{}{
	(VectorIndexEngine)(0),    // 0: greptime.v1.index.VectorIndexEngine
	(VectorDistanceMetric)(0), // 1: greptime.v1.index.VectorDistanceMetric
	(*VectorIndexMeta)(nil),   // 2: greptime.v1.index.VectorIndexMeta
	(*VectorIndexStats)(nil),  // 3: greptime.v1.index.VectorIndexStats
}
var file_greptime_v1_index_vector_index_proto_depIdxs = []int32{
	0, // 0: greptime.v1.index.VectorIndexMeta.engine:type_name -> greptime.v1.index.VectorIndexEngine
	1, // 1: greptime.v1.index.VectorIndexMeta.metric:type_name -> greptime.v1.index.VectorDistanceMetric
	3, // 2: greptime.v1.index.VectorIndexMeta.stats:type_name -> greptime.v1.index.VectorIndexStats
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_greptime_v1_index_vector_index_proto_init() }
func file_greptime_v1_index_vector_index_proto_init() {
	if File_greptime_v1_index_vector_index_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_greptime_v1_index_vector_index_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*VectorIndexMeta); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_greptime_v1_index_vector_index_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*VectorIndexStats); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_greptime_v1_index_vector_index_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_greptime_v1_index_vector_index_proto_goTypes,
		DependencyIndexes: file_greptime_v1_index_vector_index_proto_depIdxs,
		EnumInfos:         file_greptime_v1_index_vector_index_proto_enumTypes,
		MessageInfos:      file_greptime_v1_index_vector_index_proto_msgTypes,
	}.Build()
	File_greptime_v1_index_vector_index_proto = out.File
	file_greptime_v1_index_vector_index_proto_rawDesc = nil
	file_greptime_v1_index_vector_index_proto_goTypes = nil
	file_greptime_v1_index_vector_index_proto_depIdxs = nil
}
