123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.21.9
- // source: backend/ops/fields.proto
- package filedPb
- 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 FieldsType_Kind int32
- const (
- FieldsType_INVALID_FIELD FieldsType_Kind = 0
- FieldsType_DATA_TIME FieldsType_Kind = 1
- FieldsType_TIME FieldsType_Kind = 2
- FieldsType_VARCHAR FieldsType_Kind = 3
- FieldsType_INT FieldsType_Kind = 4
- FieldsType_FLOAT FieldsType_Kind = 5
- FieldsType_BOOL FieldsType_Kind = 6
- )
- // Enum value maps for FieldsType_Kind.
- var (
- FieldsType_Kind_name = map[int32]string{
- 0: "INVALID_FIELD",
- 1: "DATA_TIME",
- 2: "TIME",
- 3: "VARCHAR",
- 4: "INT",
- 5: "FLOAT",
- 6: "BOOL",
- }
- FieldsType_Kind_value = map[string]int32{
- "INVALID_FIELD": 0,
- "DATA_TIME": 1,
- "TIME": 2,
- "VARCHAR": 3,
- "INT": 4,
- "FLOAT": 5,
- "BOOL": 6,
- }
- )
- func (x FieldsType_Kind) Enum() *FieldsType_Kind {
- p := new(FieldsType_Kind)
- *p = x
- return p
- }
- func (x FieldsType_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (FieldsType_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_ops_fields_proto_enumTypes[0].Descriptor()
- }
- func (FieldsType_Kind) Type() protoreflect.EnumType {
- return &file_backend_ops_fields_proto_enumTypes[0]
- }
- func (x FieldsType_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use FieldsType_Kind.Descriptor instead.
- func (FieldsType_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{0, 0}
- }
- type ComponentsType_Kind int32
- const (
- ComponentsType_SINGLE_LINE_TEXT ComponentsType_Kind = 0 // 单行文本
- ComponentsType_MULTI_LINE_TEXT ComponentsType_Kind = 1 // 多行文本
- ComponentsType_SELECT_BOX ComponentsType_Kind = 2 // 下拉框
- ComponentsType_Radio_BOX ComponentsType_Kind = 3 // 单选框
- ComponentsType_CHECK_BOX ComponentsType_Kind = 4 // 多选框
- ComponentsType_DATE_TIME_PICKER ComponentsType_Kind = 5 // 日期选择器
- ComponentsType_TIME_PICKER ComponentsType_Kind = 6 // 时间选择器
- ComponentsType_SWITCH ComponentsType_Kind = 7 // 开关
- )
- // Enum value maps for ComponentsType_Kind.
- var (
- ComponentsType_Kind_name = map[int32]string{
- 0: "SINGLE_LINE_TEXT",
- 1: "MULTI_LINE_TEXT",
- 2: "SELECT_BOX",
- 3: "Radio_BOX",
- 4: "CHECK_BOX",
- 5: "DATE_TIME_PICKER",
- 6: "TIME_PICKER",
- 7: "SWITCH",
- }
- ComponentsType_Kind_value = map[string]int32{
- "SINGLE_LINE_TEXT": 0,
- "MULTI_LINE_TEXT": 1,
- "SELECT_BOX": 2,
- "Radio_BOX": 3,
- "CHECK_BOX": 4,
- "DATE_TIME_PICKER": 5,
- "TIME_PICKER": 6,
- "SWITCH": 7,
- }
- )
- func (x ComponentsType_Kind) Enum() *ComponentsType_Kind {
- p := new(ComponentsType_Kind)
- *p = x
- return p
- }
- func (x ComponentsType_Kind) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (ComponentsType_Kind) Descriptor() protoreflect.EnumDescriptor {
- return file_backend_ops_fields_proto_enumTypes[1].Descriptor()
- }
- func (ComponentsType_Kind) Type() protoreflect.EnumType {
- return &file_backend_ops_fields_proto_enumTypes[1]
- }
- func (x ComponentsType_Kind) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use ComponentsType_Kind.Descriptor instead.
- func (ComponentsType_Kind) EnumDescriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{1, 0}
- }
- type FieldsType struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *FieldsType) Reset() {
- *x = FieldsType{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_ops_fields_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FieldsType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FieldsType) ProtoMessage() {}
- func (x *FieldsType) ProtoReflect() protoreflect.Message {
- mi := &file_backend_ops_fields_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 FieldsType.ProtoReflect.Descriptor instead.
- func (*FieldsType) Descriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{0}
- }
- type ComponentsType struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *ComponentsType) Reset() {
- *x = ComponentsType{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_ops_fields_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *ComponentsType) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*ComponentsType) ProtoMessage() {}
- func (x *ComponentsType) ProtoReflect() protoreflect.Message {
- mi := &file_backend_ops_fields_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 ComponentsType.ProtoReflect.Descriptor instead.
- func (*ComponentsType) Descriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{1}
- }
- type CreatedFiledRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- FirstCategoryId uint32 `protobuf:"varint,1,opt,name=first_category_id,json=firstCategoryId,proto3" json:"first_category_id,omitempty"` // 字段分类一级id
- SecondCategoryId uint32 `protobuf:"varint,2,opt,name=second_category_id,json=secondCategoryId,proto3" json:"second_category_id,omitempty"` // 字段分类二级id
- ThirdCategoryId uint32 `protobuf:"varint,3,opt,name=third_category_id,json=thirdCategoryId,proto3" json:"third_category_id,omitempty"` // 字段分类三级id
- FiledName string `protobuf:"bytes,4,opt,name=filed_name,json=filedName,proto3" json:"filed_name,omitempty"` // 字段名称
- FieldType FieldsType_Kind `protobuf:"varint,5,opt,name=field_type,json=fieldType,proto3,enum=ops.FieldsType_Kind" json:"field_type,omitempty"` // 字段类型
- ComponentsType ComponentsType_Kind `protobuf:"varint,6,opt,name=componentsType,proto3,enum=ops.ComponentsType_Kind" json:"componentsType,omitempty"` // 组件类型
- FiledLen uint32 `protobuf:"varint,7,opt,name=filed_len,json=filedLen,proto3" json:"filed_len,omitempty"` // 字段长度
- MinValue int64 `protobuf:"varint,8,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // 字段取值范围最小值
- MaxValue int32 `protobuf:"varint,9,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` // 字段取值范围最大值
- CalculationRules string `protobuf:"bytes,10,opt,name=calculation_rules,json=calculationRules,proto3" json:"calculation_rules,omitempty"` // 计算规则
- }
- func (x *CreatedFiledRequest) Reset() {
- *x = CreatedFiledRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_ops_fields_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreatedFiledRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreatedFiledRequest) ProtoMessage() {}
- func (x *CreatedFiledRequest) ProtoReflect() protoreflect.Message {
- mi := &file_backend_ops_fields_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 CreatedFiledRequest.ProtoReflect.Descriptor instead.
- func (*CreatedFiledRequest) Descriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{2}
- }
- func (x *CreatedFiledRequest) GetFirstCategoryId() uint32 {
- if x != nil {
- return x.FirstCategoryId
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetSecondCategoryId() uint32 {
- if x != nil {
- return x.SecondCategoryId
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetThirdCategoryId() uint32 {
- if x != nil {
- return x.ThirdCategoryId
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetFiledName() string {
- if x != nil {
- return x.FiledName
- }
- return ""
- }
- func (x *CreatedFiledRequest) GetFieldType() FieldsType_Kind {
- if x != nil {
- return x.FieldType
- }
- return FieldsType_INVALID_FIELD
- }
- func (x *CreatedFiledRequest) GetComponentsType() ComponentsType_Kind {
- if x != nil {
- return x.ComponentsType
- }
- return ComponentsType_SINGLE_LINE_TEXT
- }
- func (x *CreatedFiledRequest) GetFiledLen() uint32 {
- if x != nil {
- return x.FiledLen
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetMinValue() int64 {
- if x != nil {
- return x.MinValue
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetMaxValue() int32 {
- if x != nil {
- return x.MaxValue
- }
- return 0
- }
- func (x *CreatedFiledRequest) GetCalculationRules() string {
- if x != nil {
- return x.CalculationRules
- }
- return ""
- }
- type CreatedFiledResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- }
- func (x *CreatedFiledResponse) Reset() {
- *x = CreatedFiledResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_backend_ops_fields_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *CreatedFiledResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CreatedFiledResponse) ProtoMessage() {}
- func (x *CreatedFiledResponse) ProtoReflect() protoreflect.Message {
- mi := &file_backend_ops_fields_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 CreatedFiledResponse.ProtoReflect.Descriptor instead.
- func (*CreatedFiledResponse) Descriptor() ([]byte, []int) {
- return file_backend_ops_fields_proto_rawDescGZIP(), []int{3}
- }
- func (x *CreatedFiledResponse) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- var File_backend_ops_fields_proto protoreflect.FileDescriptor
- var file_backend_ops_fields_proto_rawDesc = []byte{
- 0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x73, 0x2f, 0x66, 0x69,
- 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x6f, 0x70, 0x73, 0x22,
- 0x6b, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x5d, 0x0a,
- 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
- 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41,
- 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10,
- 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x03, 0x12, 0x07,
- 0x0a, 0x03, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54,
- 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x06, 0x22, 0xa5, 0x01, 0x0a,
- 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22,
- 0x92, 0x01, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x49, 0x4e, 0x47,
- 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, 0x12, 0x13,
- 0x0a, 0x0f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x45, 0x58,
- 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x42, 0x4f,
- 0x58, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x61, 0x64, 0x69, 0x6f, 0x5f, 0x42, 0x4f, 0x58,
- 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x42, 0x4f, 0x58, 0x10,
- 0x04, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x50,
- 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f,
- 0x50, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x57, 0x49, 0x54,
- 0x43, 0x48, 0x10, 0x07, 0x22, 0xb5, 0x03, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x46, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11,
- 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x43, 0x61,
- 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x63, 0x6f,
- 0x6e, 0x64, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x43, 0x61, 0x74, 0x65,
- 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f,
- 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x0f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
- 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x4e, 0x61, 0x6d,
- 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6f, 0x70, 0x73, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x66, 0x69, 0x65,
- 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
- 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
- 0x2e, 0x6f, 0x70, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x54,
- 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
- 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65,
- 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x69, 0x6c,
- 0x65, 0x64, 0x4c, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
- 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
- 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
- 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x61, 0x6c, 0x63,
- 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x14,
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x02, 0x69, 0x64, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x50,
- 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_backend_ops_fields_proto_rawDescOnce sync.Once
- file_backend_ops_fields_proto_rawDescData = file_backend_ops_fields_proto_rawDesc
- )
- func file_backend_ops_fields_proto_rawDescGZIP() []byte {
- file_backend_ops_fields_proto_rawDescOnce.Do(func() {
- file_backend_ops_fields_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_ops_fields_proto_rawDescData)
- })
- return file_backend_ops_fields_proto_rawDescData
- }
- var file_backend_ops_fields_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
- var file_backend_ops_fields_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
- var file_backend_ops_fields_proto_goTypes = []interface{}{
- (FieldsType_Kind)(0), // 0: ops.FieldsType.Kind
- (ComponentsType_Kind)(0), // 1: ops.ComponentsType.Kind
- (*FieldsType)(nil), // 2: ops.FieldsType
- (*ComponentsType)(nil), // 3: ops.ComponentsType
- (*CreatedFiledRequest)(nil), // 4: ops.CreatedFiledRequest
- (*CreatedFiledResponse)(nil), // 5: ops.CreatedFiledResponse
- }
- var file_backend_ops_fields_proto_depIdxs = []int32{
- 0, // 0: ops.CreatedFiledRequest.field_type:type_name -> ops.FieldsType.Kind
- 1, // 1: ops.CreatedFiledRequest.componentsType:type_name -> ops.ComponentsType.Kind
- 2, // [2:2] is the sub-list for method output_type
- 2, // [2:2] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
- }
- func init() { file_backend_ops_fields_proto_init() }
- func file_backend_ops_fields_proto_init() {
- if File_backend_ops_fields_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_backend_ops_fields_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldsType); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_ops_fields_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ComponentsType); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_ops_fields_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreatedFiledRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_backend_ops_fields_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CreatedFiledResponse); 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_backend_ops_fields_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 4,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_backend_ops_fields_proto_goTypes,
- DependencyIndexes: file_backend_ops_fields_proto_depIdxs,
- EnumInfos: file_backend_ops_fields_proto_enumTypes,
- MessageInfos: file_backend_ops_fields_proto_msgTypes,
- }.Build()
- File_backend_ops_fields_proto = out.File
- file_backend_ops_fields_proto_rawDesc = nil
- file_backend_ops_fields_proto_goTypes = nil
- file_backend_ops_fields_proto_depIdxs = nil
- }
|