func (*TagSpec) Descriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{2}
}
Deprecated: Use TagSpec.ProtoReflect.Descriptor instead.
package v1
import (
	reflect "reflect"
	sync "sync"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	v1 "github.com/apache/skywalking-banyandb/api/proto/banyandb/common/v1"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type TagType int32
const (
	TagType_TAG_TYPE_UNSPECIFIED  TagType = 0
	TagType_TAG_TYPE_STRING       TagType = 1
	TagType_TAG_TYPE_INT          TagType = 2
	TagType_TAG_TYPE_STRING_ARRAY TagType = 3
	TagType_TAG_TYPE_INT_ARRAY    TagType = 4
	TagType_TAG_TYPE_DATA_BINARY  TagType = 5
)
var (
	TagType_name = map[int32]string{
		0: "TAG_TYPE_UNSPECIFIED",
		1: "TAG_TYPE_STRING",
		2: "TAG_TYPE_INT",
		3: "TAG_TYPE_STRING_ARRAY",
		4: "TAG_TYPE_INT_ARRAY",
		5: "TAG_TYPE_DATA_BINARY",
	}
	TagType_value = map[string]int32{
		"TAG_TYPE_UNSPECIFIED":  0,
		"TAG_TYPE_STRING":       1,
		"TAG_TYPE_INT":          2,
		"TAG_TYPE_STRING_ARRAY": 3,
		"TAG_TYPE_INT_ARRAY":    4,
		"TAG_TYPE_DATA_BINARY":  5,
	}
)
func (x TagType) Enum() *TagType {
	p := new(TagType)
	*p = x
	return p
}
func (x TagType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TagType) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[0].Descriptor()
}
func (TagType) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[0]
}
func (x TagType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (TagType) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{0}
}
type FieldType int32
const (
	FieldType_FIELD_TYPE_UNSPECIFIED FieldType = 0
	FieldType_FIELD_TYPE_STRING      FieldType = 1
	FieldType_FIELD_TYPE_INT         FieldType = 2
	FieldType_FIELD_TYPE_DATA_BINARY FieldType = 3
)
var (
	FieldType_name = map[int32]string{
		0: "FIELD_TYPE_UNSPECIFIED",
		1: "FIELD_TYPE_STRING",
		2: "FIELD_TYPE_INT",
		3: "FIELD_TYPE_DATA_BINARY",
	}
	FieldType_value = map[string]int32{
		"FIELD_TYPE_UNSPECIFIED": 0,
		"FIELD_TYPE_STRING":      1,
		"FIELD_TYPE_INT":         2,
		"FIELD_TYPE_DATA_BINARY": 3,
	}
)
func (x FieldType) Enum() *FieldType {
	p := new(FieldType)
	*p = x
	return p
}
func (x FieldType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FieldType) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[1].Descriptor()
}
func (FieldType) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[1]
}
func (x FieldType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (FieldType) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{1}
}
type EncodingMethod int32
const (
	EncodingMethod_ENCODING_METHOD_UNSPECIFIED EncodingMethod = 0
	EncodingMethod_ENCODING_METHOD_GORILLA     EncodingMethod = 1
)
var (
	EncodingMethod_name = map[int32]string{
		0: "ENCODING_METHOD_UNSPECIFIED",
		1: "ENCODING_METHOD_GORILLA",
	}
	EncodingMethod_value = map[string]int32{
		"ENCODING_METHOD_UNSPECIFIED": 0,
		"ENCODING_METHOD_GORILLA":     1,
	}
)
func (x EncodingMethod) Enum() *EncodingMethod {
	p := new(EncodingMethod)
	*p = x
	return p
}
func (x EncodingMethod) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EncodingMethod) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[2].Descriptor()
}
func (EncodingMethod) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[2]
}
func (x EncodingMethod) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (EncodingMethod) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{2}
}
type CompressionMethod int32
const (
	CompressionMethod_COMPRESSION_METHOD_UNSPECIFIED CompressionMethod = 0
	CompressionMethod_COMPRESSION_METHOD_ZSTD        CompressionMethod = 1
)
var (
	CompressionMethod_name = map[int32]string{
		0: "COMPRESSION_METHOD_UNSPECIFIED",
		1: "COMPRESSION_METHOD_ZSTD",
	}
	CompressionMethod_value = map[string]int32{
		"COMPRESSION_METHOD_UNSPECIFIED": 0,
		"COMPRESSION_METHOD_ZSTD":        1,
	}
)
func (x CompressionMethod) Enum() *CompressionMethod {
	p := new(CompressionMethod)
	*p = x
	return p
}
func (x CompressionMethod) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CompressionMethod) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[3].Descriptor()
}
func (CompressionMethod) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[3]
}
func (x CompressionMethod) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (CompressionMethod) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{3}
}
type Duration_DurationUnit int32
const (
	Duration_DURATION_UNIT_UNSPECIFIED Duration_DurationUnit = 0
	Duration_DURATION_UNIT_HOUR        Duration_DurationUnit = 1
	Duration_DURATION_UNIT_DAY         Duration_DurationUnit = 2
	Duration_DURATION_UNIT_WEEK        Duration_DurationUnit = 3
	Duration_DURATION_UNIT_MONTH       Duration_DurationUnit = 4
)
var (
	Duration_DurationUnit_name = map[int32]string{
		0: "DURATION_UNIT_UNSPECIFIED",
		1: "DURATION_UNIT_HOUR",
		2: "DURATION_UNIT_DAY",
		3: "DURATION_UNIT_WEEK",
		4: "DURATION_UNIT_MONTH",
	}
	Duration_DurationUnit_value = map[string]int32{
		"DURATION_UNIT_UNSPECIFIED": 0,
		"DURATION_UNIT_HOUR":        1,
		"DURATION_UNIT_DAY":         2,
		"DURATION_UNIT_WEEK":        3,
		"DURATION_UNIT_MONTH":       4,
	}
)
func (x Duration_DurationUnit) Enum() *Duration_DurationUnit {
	p := new(Duration_DurationUnit)
	*p = x
	return p
}
func (x Duration_DurationUnit) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Duration_DurationUnit) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[4].Descriptor()
}
func (Duration_DurationUnit) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[4]
}
func (x Duration_DurationUnit) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (Duration_DurationUnit) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{0, 0}
}
type IndexRule_Type int32
const (
	IndexRule_TYPE_UNSPECIFIED IndexRule_Type = 0
	IndexRule_TYPE_TREE        IndexRule_Type = 1
	IndexRule_TYPE_INVERTED    IndexRule_Type = 2
)
var (
	IndexRule_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_TREE",
		2: "TYPE_INVERTED",
	}
	IndexRule_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_TREE":        1,
		"TYPE_INVERTED":    2,
	}
)
func (x IndexRule_Type) Enum() *IndexRule_Type {
	p := new(IndexRule_Type)
	*p = x
	return p
}
func (x IndexRule_Type) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IndexRule_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[5].Descriptor()
}
func (IndexRule_Type) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[5]
}
func (x IndexRule_Type) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (IndexRule_Type) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{7, 0}
}
type IndexRule_Location int32
const (
	IndexRule_LOCATION_UNSPECIFIED IndexRule_Location = 0
	IndexRule_LOCATION_SERIES      IndexRule_Location = 1
	IndexRule_LOCATION_GLOBAL      IndexRule_Location = 2
)
var (
	IndexRule_Location_name = map[int32]string{
		0: "LOCATION_UNSPECIFIED",
		1: "LOCATION_SERIES",
		2: "LOCATION_GLOBAL",
	}
	IndexRule_Location_value = map[string]int32{
		"LOCATION_UNSPECIFIED": 0,
		"LOCATION_SERIES":      1,
		"LOCATION_GLOBAL":      2,
	}
)
func (x IndexRule_Location) Enum() *IndexRule_Location {
	p := new(IndexRule_Location)
	*p = x
	return p
}
func (x IndexRule_Location) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IndexRule_Location) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_database_v1_schema_proto_enumTypes[6].Descriptor()
}
func (IndexRule_Location) Type() protoreflect.EnumType {
	return &file_banyandb_database_v1_schema_proto_enumTypes[6]
}
func (x IndexRule_Location) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (IndexRule_Location) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{7, 1}
}
type Duration struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Val  uint32                `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"`
	Unit Duration_DurationUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=banyandb.database.v1.Duration_DurationUnit" json:"unit,omitempty"`
}
func (x *Duration) Reset() {
	*x = Duration{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_database_v1_schema_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *Duration) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*Duration) ProtoMessage() {}
func (x *Duration) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_database_v1_schema_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)
}
func (*Duration) Descriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{0}
}
func (x *Duration) GetVal() uint32 {
	if x != nil {
		return x.Val
	}
	return 0
}
func (x *Duration) GetUnit() Duration_DurationUnit {
	if x != nil {
		return x.Unit
	}
	return Duration_DURATION_UNIT_UNSPECIFIED
}
type TagFamilySpec struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tags []*TagSpec `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
}
func (x *TagFamilySpec) Reset() {
	*x = TagFamilySpec{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_database_v1_schema_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TagFamilySpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TagFamilySpec) ProtoMessage() {}
func (x *TagFamilySpec) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_database_v1_schema_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)
}
func (*TagFamilySpec) Descriptor() ([]byte, []int) {
	return file_banyandb_database_v1_schema_proto_rawDescGZIP(), []int{1}
}
func (x *TagFamilySpec) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *TagFamilySpec) GetTags() []*TagSpec {
	if x != nil {
		return x.Tags
	}
	return nil
}
type TagSpec struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Name string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type TagType `protobuf:"varint,2,opt,name=type,proto3,enum=banyandb.database.v1.TagType" json:"type,omitempty"`
}
func (x *TagSpec) Reset() {
	*x = TagSpec{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_database_v1_schema_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TagSpec) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TagSpec) ProtoMessage() {}
func (x *TagSpec) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_database_v1_schema_proto_msgTypes[2]
	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)
}