667 lines
22 KiB
Go
667 lines
22 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: buried/buried_db.proto
|
|
|
|
package pb
|
|
|
|
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)
|
|
)
|
|
|
|
//任务条件状态
|
|
type BuriedItemState int32
|
|
|
|
const (
|
|
BuriedItemState_Inactivated BuriedItemState = 0 //未激活 不接受输入入录
|
|
BuriedItemState_Activated BuriedItemState = 1 //已激活 接受输入入录
|
|
BuriedItemState_Freeze BuriedItemState = 2 //冻结 数据保留 不接受数据变化和时间推送
|
|
BuriedItemState_Sleep BuriedItemState = 3 //数据更新但是不主动触发时间
|
|
)
|
|
|
|
// Enum value maps for BuriedItemState.
|
|
var (
|
|
BuriedItemState_name = map[int32]string{
|
|
0: "Inactivated",
|
|
1: "Activated",
|
|
2: "Freeze",
|
|
3: "Sleep",
|
|
}
|
|
BuriedItemState_value = map[string]int32{
|
|
"Inactivated": 0,
|
|
"Activated": 1,
|
|
"Freeze": 2,
|
|
"Sleep": 3,
|
|
}
|
|
)
|
|
|
|
func (x BuriedItemState) Enum() *BuriedItemState {
|
|
p := new(BuriedItemState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x BuriedItemState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (BuriedItemState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_buried_buried_db_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (BuriedItemState) Type() protoreflect.EnumType {
|
|
return &file_buried_buried_db_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x BuriedItemState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use BuriedItemState.Descriptor instead.
|
|
func (BuriedItemState) EnumDescriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//任务完成状态
|
|
type BuriedItemFinishState int32
|
|
|
|
const (
|
|
BuriedItemFinishState_buried_unfinish BuriedItemFinishState = 0
|
|
BuriedItemFinishState_buried_finish BuriedItemFinishState = 1
|
|
)
|
|
|
|
// Enum value maps for BuriedItemFinishState.
|
|
var (
|
|
BuriedItemFinishState_name = map[int32]string{
|
|
0: "buried_unfinish",
|
|
1: "buried_finish",
|
|
}
|
|
BuriedItemFinishState_value = map[string]int32{
|
|
"buried_unfinish": 0,
|
|
"buried_finish": 1,
|
|
}
|
|
)
|
|
|
|
func (x BuriedItemFinishState) Enum() *BuriedItemFinishState {
|
|
p := new(BuriedItemFinishState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x BuriedItemFinishState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (BuriedItemFinishState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_buried_buried_db_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (BuriedItemFinishState) Type() protoreflect.EnumType {
|
|
return &file_buried_buried_db_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x BuriedItemFinishState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use BuriedItemFinishState.Descriptor instead.
|
|
func (BuriedItemFinishState) EnumDescriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
//埋点对应的条件数据
|
|
type DBBuriedConItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Conid int32 `protobuf:"varint,1,opt,name=conid,proto3" json:"conid" bson:"conid"` //条件id
|
|
State BuriedItemState `protobuf:"varint,2,opt,name=state,proto3,enum=BuriedItemState" json:"state" bson:"state"` //状态
|
|
Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value" bson:"value"` //条件值
|
|
Statistics []string `protobuf:"bytes,4,rep,name=statistics,proto3" json:"statistics" bson:"stats"` //统计值
|
|
Finish BuriedItemFinishState `protobuf:"varint,5,opt,name=finish,proto3,enum=BuriedItemFinishState" json:"finish" bson:"finish"` //是否完成
|
|
Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp" bson:"timestamp"` //最后一次操作时间
|
|
}
|
|
|
|
func (x *DBBuriedConItem) Reset() {
|
|
*x = DBBuriedConItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_buried_buried_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBBuriedConItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBBuriedConItem) ProtoMessage() {}
|
|
|
|
func (x *DBBuriedConItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_buried_buried_db_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 DBBuriedConItem.ProtoReflect.Descriptor instead.
|
|
func (*DBBuriedConItem) Descriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetConid() int32 {
|
|
if x != nil {
|
|
return x.Conid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetState() BuriedItemState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return BuriedItemState_Inactivated
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetValue() int32 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetStatistics() []string {
|
|
if x != nil {
|
|
return x.Statistics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetFinish() BuriedItemFinishState {
|
|
if x != nil {
|
|
return x.Finish
|
|
}
|
|
return BuriedItemFinishState_buried_unfinish
|
|
}
|
|
|
|
func (x *DBBuriedConItem) GetTimestamp() int64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DBBuriedItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Btype int32 `protobuf:"varint,1,opt,name=btype,proto3" json:"btype"` //@go_tags(`bson:"btype"`)埋点类型
|
|
Condi []*DBBuriedConItem `protobuf:"bytes,2,rep,name=condi,proto3" json:"condi"` //@go_tags(`bson:"btype"`)条件列表
|
|
}
|
|
|
|
func (x *DBBuriedItem) Reset() {
|
|
*x = DBBuriedItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_buried_buried_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBBuriedItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBBuriedItem) ProtoMessage() {}
|
|
|
|
func (x *DBBuriedItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_buried_buried_db_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 DBBuriedItem.ProtoReflect.Descriptor instead.
|
|
func (*DBBuriedItem) Descriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBBuriedItem) GetBtype() int32 {
|
|
if x != nil {
|
|
return x.Btype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBBuriedItem) GetCondi() []*DBBuriedConItem {
|
|
if x != nil {
|
|
return x.Condi
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//DB埋点数据
|
|
type DBBuried struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //唯一ID
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
|
|
Items map[int32]*DBBuriedItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //埋点数据 key条件id
|
|
}
|
|
|
|
func (x *DBBuried) Reset() {
|
|
*x = DBBuried{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_buried_buried_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBBuried) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBBuried) ProtoMessage() {}
|
|
|
|
func (x *DBBuried) ProtoReflect() protoreflect.Message {
|
|
mi := &file_buried_buried_db_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)
|
|
}
|
|
|
|
// Deprecated: Use DBBuried.ProtoReflect.Descriptor instead.
|
|
func (*DBBuried) Descriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBBuried) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBuried) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBuried) GetItems() map[int32]*DBBuriedItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BuriedParam struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"`
|
|
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value"` //累加或者覆盖参数
|
|
Statistics string `protobuf:"bytes,3,opt,name=statistics,proto3" json:"statistics"` //统计类型 传递参数
|
|
Filter []int32 `protobuf:"varint,4,rep,packed,name=filter,proto3" json:"filter"` //马、
|
|
}
|
|
|
|
func (x *BuriedParam) Reset() {
|
|
*x = BuriedParam{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_buried_buried_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BuriedParam) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BuriedParam) ProtoMessage() {}
|
|
|
|
func (x *BuriedParam) ProtoReflect() protoreflect.Message {
|
|
mi := &file_buried_buried_db_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)
|
|
}
|
|
|
|
// Deprecated: Use BuriedParam.ProtoReflect.Descriptor instead.
|
|
func (*BuriedParam) Descriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *BuriedParam) GetTaskType() int32 {
|
|
if x != nil {
|
|
return x.TaskType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuriedParam) GetValue() int32 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BuriedParam) GetStatistics() string {
|
|
if x != nil {
|
|
return x.Statistics
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BuriedParam) GetFilter() []int32 {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ConIProgress struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Btype int32 `protobuf:"varint,1,opt,name=btype,proto3" json:"btype" bson:"btype"` //埋点类型
|
|
Conid int32 `protobuf:"varint,2,opt,name=conid,proto3" json:"conid" bson:"conid"` //条件id
|
|
Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value" bson:"value"` //进度值
|
|
Target int32 `protobuf:"varint,4,opt,name=target,proto3" json:"target" bson:"target"` //进度值
|
|
State BuriedItemFinishState `protobuf:"varint,5,opt,name=state,proto3,enum=BuriedItemFinishState" json:"state" bson:"state"` //进度状态 0 未完成 1已完成
|
|
}
|
|
|
|
func (x *ConIProgress) Reset() {
|
|
*x = ConIProgress{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_buried_buried_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ConIProgress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConIProgress) ProtoMessage() {}
|
|
|
|
func (x *ConIProgress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_buried_buried_db_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)
|
|
}
|
|
|
|
// Deprecated: Use ConIProgress.ProtoReflect.Descriptor instead.
|
|
func (*ConIProgress) Descriptor() ([]byte, []int) {
|
|
return file_buried_buried_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ConIProgress) GetBtype() int32 {
|
|
if x != nil {
|
|
return x.Btype
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConIProgress) GetConid() int32 {
|
|
if x != nil {
|
|
return x.Conid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConIProgress) GetValue() int32 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConIProgress) GetTarget() int32 {
|
|
if x != nil {
|
|
return x.Target
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConIProgress) GetState() BuriedItemFinishState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return BuriedItemFinishState_buried_unfinish
|
|
}
|
|
|
|
var File_buried_buried_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_buried_buried_db_proto_rawDesc = []byte{
|
|
0x0a, 0x16, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 0x2f, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 0x5f,
|
|
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x42,
|
|
0x75, 0x72, 0x69, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05,
|
|
0x63, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x6e,
|
|
0x69, 0x64, 0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x10, 0x2e, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18, 0x04,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73,
|
|
0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x16, 0x2e, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x46, 0x69, 0x6e,
|
|
0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x4c,
|
|
0x0a, 0x0c, 0x44, 0x42, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14,
|
|
0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62,
|
|
0x74, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x43, 0x6f,
|
|
0x6e, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x22, 0xa1, 0x01, 0x0a,
|
|
0x08, 0x44, 0x42, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x69,
|
|
0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x42,
|
|
0x75, 0x72, 0x69, 0x65, 0x64, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x1a, 0x47, 0x0a, 0x0a, 0x49, 0x74, 0x65, 0x6d, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x42, 0x75, 0x72, 0x69, 0x65,
|
|
0x64, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
0x22, 0x77, 0x0a, 0x0b, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63,
|
|
0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28,
|
|
0x05, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x96, 0x01, 0x0a, 0x0c, 0x43, 0x6f,
|
|
0x6e, 0x49, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74,
|
|
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65,
|
|
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x63, 0x6f, 0x6e, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
|
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61,
|
|
0x72, 0x67, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d,
|
|
0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x2a, 0x48, 0x0a, 0x0f, 0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
0x61, 0x74, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61,
|
|
0x74, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x10,
|
|
0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x6c, 0x65, 0x65, 0x70, 0x10, 0x03, 0x2a, 0x3f, 0x0a, 0x15,
|
|
0x42, 0x75, 0x72, 0x69, 0x65, 0x64, 0x49, 0x74, 0x65, 0x6d, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 0x5f,
|
|
0x75, 0x6e, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x62, 0x75,
|
|
0x72, 0x69, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10, 0x01, 0x42, 0x06, 0x5a,
|
|
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_buried_buried_db_proto_rawDescOnce sync.Once
|
|
file_buried_buried_db_proto_rawDescData = file_buried_buried_db_proto_rawDesc
|
|
)
|
|
|
|
func file_buried_buried_db_proto_rawDescGZIP() []byte {
|
|
file_buried_buried_db_proto_rawDescOnce.Do(func() {
|
|
file_buried_buried_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_buried_buried_db_proto_rawDescData)
|
|
})
|
|
return file_buried_buried_db_proto_rawDescData
|
|
}
|
|
|
|
var file_buried_buried_db_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_buried_buried_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_buried_buried_db_proto_goTypes = []interface{}{
|
|
(BuriedItemState)(0), // 0: BuriedItemState
|
|
(BuriedItemFinishState)(0), // 1: BuriedItemFinishState
|
|
(*DBBuriedConItem)(nil), // 2: DBBuriedConItem
|
|
(*DBBuriedItem)(nil), // 3: DBBuriedItem
|
|
(*DBBuried)(nil), // 4: DBBuried
|
|
(*BuriedParam)(nil), // 5: BuriedParam
|
|
(*ConIProgress)(nil), // 6: ConIProgress
|
|
nil, // 7: DBBuried.ItemsEntry
|
|
}
|
|
var file_buried_buried_db_proto_depIdxs = []int32{
|
|
0, // 0: DBBuriedConItem.state:type_name -> BuriedItemState
|
|
1, // 1: DBBuriedConItem.finish:type_name -> BuriedItemFinishState
|
|
2, // 2: DBBuriedItem.condi:type_name -> DBBuriedConItem
|
|
7, // 3: DBBuried.items:type_name -> DBBuried.ItemsEntry
|
|
1, // 4: ConIProgress.state:type_name -> BuriedItemFinishState
|
|
3, // 5: DBBuried.ItemsEntry.value:type_name -> DBBuriedItem
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_buried_buried_db_proto_init() }
|
|
func file_buried_buried_db_proto_init() {
|
|
if File_buried_buried_db_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_buried_buried_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBBuriedConItem); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_buried_buried_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBBuriedItem); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_buried_buried_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBBuried); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_buried_buried_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BuriedParam); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_buried_buried_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ConIProgress); 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_buried_buried_db_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_buried_buried_db_proto_goTypes,
|
|
DependencyIndexes: file_buried_buried_db_proto_depIdxs,
|
|
EnumInfos: file_buried_buried_db_proto_enumTypes,
|
|
MessageInfos: file_buried_buried_db_proto_msgTypes,
|
|
}.Build()
|
|
File_buried_buried_db_proto = out.File
|
|
file_buried_buried_db_proto_rawDesc = nil
|
|
file_buried_buried_db_proto_goTypes = nil
|
|
file_buried_buried_db_proto_depIdxs = nil
|
|
}
|