func (*TimeRange) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{5}
}
Deprecated: Use TimeRange.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"
)
const (
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Condition_BinaryOp int32
const (
	Condition_BINARY_OP_UNSPECIFIED Condition_BinaryOp = 0
	Condition_BINARY_OP_EQ          Condition_BinaryOp = 1
	Condition_BINARY_OP_NE          Condition_BinaryOp = 2
	Condition_BINARY_OP_LT          Condition_BinaryOp = 3
	Condition_BINARY_OP_GT          Condition_BinaryOp = 4
	Condition_BINARY_OP_LE          Condition_BinaryOp = 5
	Condition_BINARY_OP_GE          Condition_BinaryOp = 6
	Condition_BINARY_OP_HAVING      Condition_BinaryOp = 7
	Condition_BINARY_OP_NOT_HAVING  Condition_BinaryOp = 8
)
var (
	Condition_BinaryOp_name = map[int32]string{
		0: "BINARY_OP_UNSPECIFIED",
		1: "BINARY_OP_EQ",
		2: "BINARY_OP_NE",
		3: "BINARY_OP_LT",
		4: "BINARY_OP_GT",
		5: "BINARY_OP_LE",
		6: "BINARY_OP_GE",
		7: "BINARY_OP_HAVING",
		8: "BINARY_OP_NOT_HAVING",
	}
	Condition_BinaryOp_value = map[string]int32{
		"BINARY_OP_UNSPECIFIED": 0,
		"BINARY_OP_EQ":          1,
		"BINARY_OP_NE":          2,
		"BINARY_OP_LT":          3,
		"BINARY_OP_GT":          4,
		"BINARY_OP_LE":          5,
		"BINARY_OP_GE":          6,
		"BINARY_OP_HAVING":      7,
		"BINARY_OP_NOT_HAVING":  8,
	}
)
func (x Condition_BinaryOp) Enum() *Condition_BinaryOp {
	p := new(Condition_BinaryOp)
	*p = x
	return p
}
func (x Condition_BinaryOp) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Condition_BinaryOp) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_model_v1_query_proto_enumTypes[0].Descriptor()
}
func (Condition_BinaryOp) Type() protoreflect.EnumType {
	return &file_banyandb_model_v1_query_proto_enumTypes[0]
}
func (x Condition_BinaryOp) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (Condition_BinaryOp) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{2, 0}
}
type QueryOrder_Sort int32
const (
	QueryOrder_SORT_UNSPECIFIED QueryOrder_Sort = 0
	QueryOrder_SORT_DESC        QueryOrder_Sort = 1
	QueryOrder_SORT_ASC         QueryOrder_Sort = 2
)
var (
	QueryOrder_Sort_name = map[int32]string{
		0: "SORT_UNSPECIFIED",
		1: "SORT_DESC",
		2: "SORT_ASC",
	}
	QueryOrder_Sort_value = map[string]int32{
		"SORT_UNSPECIFIED": 0,
		"SORT_DESC":        1,
		"SORT_ASC":         2,
	}
)
func (x QueryOrder_Sort) Enum() *QueryOrder_Sort {
	p := new(QueryOrder_Sort)
	*p = x
	return p
}
func (x QueryOrder_Sort) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (QueryOrder_Sort) Descriptor() protoreflect.EnumDescriptor {
	return file_banyandb_model_v1_query_proto_enumTypes[1].Descriptor()
}
func (QueryOrder_Sort) Type() protoreflect.EnumType {
	return &file_banyandb_model_v1_query_proto_enumTypes[1]
}
func (x QueryOrder_Sort) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}
func (QueryOrder_Sort) EnumDescriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{3, 0}
}
type Tag struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Key   string    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *TagValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *Tag) Reset() {
	*x = Tag{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *Tag) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*Tag) ProtoMessage() {}
func (x *Tag) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_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 (*Tag) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{0}
}
func (x *Tag) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}
func (x *Tag) GetValue() *TagValue {
	if x != nil {
		return x.Value
	}
	return nil
}
type TagFamily struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tags []*Tag `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
}
func (x *TagFamily) Reset() {
	*x = TagFamily{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TagFamily) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TagFamily) ProtoMessage() {}
func (x *TagFamily) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_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 (*TagFamily) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{1}
}
func (x *TagFamily) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *TagFamily) GetTags() []*Tag {
	if x != nil {
		return x.Tags
	}
	return nil
}
type Condition struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Name  string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Op    Condition_BinaryOp `protobuf:"varint,2,opt,name=op,proto3,enum=banyandb.model.v1.Condition_BinaryOp" json:"op,omitempty"`
	Value *TagValue          `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *Condition) Reset() {
	*x = Condition{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *Condition) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*Condition) ProtoMessage() {}
func (x *Condition) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_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)
}
func (*Condition) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{2}
}
func (x *Condition) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}
func (x *Condition) GetOp() Condition_BinaryOp {
	if x != nil {
		return x.Op
	}
	return Condition_BINARY_OP_UNSPECIFIED
}
func (x *Condition) GetValue() *TagValue {
	if x != nil {
		return x.Value
	}
	return nil
}
type QueryOrder struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	IndexRuleName string          `protobuf:"bytes,1,opt,name=index_rule_name,json=indexRuleName,proto3" json:"index_rule_name,omitempty"`
	Sort          QueryOrder_Sort `protobuf:"varint,2,opt,name=sort,proto3,enum=banyandb.model.v1.QueryOrder_Sort" json:"sort,omitempty"`
}
func (x *QueryOrder) Reset() {
	*x = QueryOrder{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *QueryOrder) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrder) ProtoMessage() {}
func (x *QueryOrder) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_proto_msgTypes[3]
	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 (*QueryOrder) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{3}
}
func (x *QueryOrder) GetIndexRuleName() string {
	if x != nil {
		return x.IndexRuleName
	}
	return ""
}
func (x *QueryOrder) GetSort() QueryOrder_Sort {
	if x != nil {
		return x.Sort
	}
	return QueryOrder_SORT_UNSPECIFIED
}
type Projection struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	TagFamilies []*Projection_TagFamily `protobuf:"bytes,1,rep,name=tag_families,json=tagFamilies,proto3" json:"tag_families,omitempty"`
}
func (x *Projection) Reset() {
	*x = Projection{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *Projection) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*Projection) ProtoMessage() {}
func (x *Projection) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_proto_msgTypes[4]
	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 (*Projection) Descriptor() ([]byte, []int) {
	return file_banyandb_model_v1_query_proto_rawDescGZIP(), []int{4}
}
func (x *Projection) GetTagFamilies() []*Projection_TagFamily {
	if x != nil {
		return x.TagFamilies
	}
	return nil
}
type TimeRange struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
	Begin *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=begin,proto3" json:"begin,omitempty"`
	End   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
}
func (x *TimeRange) Reset() {
	*x = TimeRange{}
	if protoimpl.UnsafeEnabled {
		mi := &file_banyandb_model_v1_query_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}
func (x *TimeRange) String() string {
	return protoimpl.X.MessageStringOf(x)
}
func (*TimeRange) ProtoMessage() {}
func (x *TimeRange) ProtoReflect() protoreflect.Message {
	mi := &file_banyandb_model_v1_query_proto_msgTypes[5]
	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)
}