fields.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.9
  5. // source: backend/ops/fields.proto
  6. package filedPb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type FieldsType_Kind int32
  20. const (
  21. FieldsType_INVALID_FIELD FieldsType_Kind = 0
  22. FieldsType_DATA_TIME FieldsType_Kind = 1
  23. FieldsType_TIME FieldsType_Kind = 2
  24. FieldsType_VARCHAR FieldsType_Kind = 3
  25. FieldsType_INT FieldsType_Kind = 4
  26. FieldsType_FLOAT FieldsType_Kind = 5
  27. FieldsType_BOOL FieldsType_Kind = 6
  28. )
  29. // Enum value maps for FieldsType_Kind.
  30. var (
  31. FieldsType_Kind_name = map[int32]string{
  32. 0: "INVALID_FIELD",
  33. 1: "DATA_TIME",
  34. 2: "TIME",
  35. 3: "VARCHAR",
  36. 4: "INT",
  37. 5: "FLOAT",
  38. 6: "BOOL",
  39. }
  40. FieldsType_Kind_value = map[string]int32{
  41. "INVALID_FIELD": 0,
  42. "DATA_TIME": 1,
  43. "TIME": 2,
  44. "VARCHAR": 3,
  45. "INT": 4,
  46. "FLOAT": 5,
  47. "BOOL": 6,
  48. }
  49. )
  50. func (x FieldsType_Kind) Enum() *FieldsType_Kind {
  51. p := new(FieldsType_Kind)
  52. *p = x
  53. return p
  54. }
  55. func (x FieldsType_Kind) String() string {
  56. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  57. }
  58. func (FieldsType_Kind) Descriptor() protoreflect.EnumDescriptor {
  59. return file_backend_ops_fields_proto_enumTypes[0].Descriptor()
  60. }
  61. func (FieldsType_Kind) Type() protoreflect.EnumType {
  62. return &file_backend_ops_fields_proto_enumTypes[0]
  63. }
  64. func (x FieldsType_Kind) Number() protoreflect.EnumNumber {
  65. return protoreflect.EnumNumber(x)
  66. }
  67. // Deprecated: Use FieldsType_Kind.Descriptor instead.
  68. func (FieldsType_Kind) EnumDescriptor() ([]byte, []int) {
  69. return file_backend_ops_fields_proto_rawDescGZIP(), []int{0, 0}
  70. }
  71. type ComponentsType_Kind int32
  72. const (
  73. ComponentsType_SINGLE_LINE_TEXT ComponentsType_Kind = 0 // 单行文本
  74. ComponentsType_MULTI_LINE_TEXT ComponentsType_Kind = 1 // 多行文本
  75. ComponentsType_SELECT_BOX ComponentsType_Kind = 2 // 下拉框
  76. ComponentsType_Radio_BOX ComponentsType_Kind = 3 // 单选框
  77. ComponentsType_CHECK_BOX ComponentsType_Kind = 4 // 多选框
  78. ComponentsType_DATE_TIME_PICKER ComponentsType_Kind = 5 // 日期选择器
  79. ComponentsType_TIME_PICKER ComponentsType_Kind = 6 // 时间选择器
  80. ComponentsType_SWITCH ComponentsType_Kind = 7 // 开关
  81. )
  82. // Enum value maps for ComponentsType_Kind.
  83. var (
  84. ComponentsType_Kind_name = map[int32]string{
  85. 0: "SINGLE_LINE_TEXT",
  86. 1: "MULTI_LINE_TEXT",
  87. 2: "SELECT_BOX",
  88. 3: "Radio_BOX",
  89. 4: "CHECK_BOX",
  90. 5: "DATE_TIME_PICKER",
  91. 6: "TIME_PICKER",
  92. 7: "SWITCH",
  93. }
  94. ComponentsType_Kind_value = map[string]int32{
  95. "SINGLE_LINE_TEXT": 0,
  96. "MULTI_LINE_TEXT": 1,
  97. "SELECT_BOX": 2,
  98. "Radio_BOX": 3,
  99. "CHECK_BOX": 4,
  100. "DATE_TIME_PICKER": 5,
  101. "TIME_PICKER": 6,
  102. "SWITCH": 7,
  103. }
  104. )
  105. func (x ComponentsType_Kind) Enum() *ComponentsType_Kind {
  106. p := new(ComponentsType_Kind)
  107. *p = x
  108. return p
  109. }
  110. func (x ComponentsType_Kind) String() string {
  111. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  112. }
  113. func (ComponentsType_Kind) Descriptor() protoreflect.EnumDescriptor {
  114. return file_backend_ops_fields_proto_enumTypes[1].Descriptor()
  115. }
  116. func (ComponentsType_Kind) Type() protoreflect.EnumType {
  117. return &file_backend_ops_fields_proto_enumTypes[1]
  118. }
  119. func (x ComponentsType_Kind) Number() protoreflect.EnumNumber {
  120. return protoreflect.EnumNumber(x)
  121. }
  122. // Deprecated: Use ComponentsType_Kind.Descriptor instead.
  123. func (ComponentsType_Kind) EnumDescriptor() ([]byte, []int) {
  124. return file_backend_ops_fields_proto_rawDescGZIP(), []int{1, 0}
  125. }
  126. type FieldsType struct {
  127. state protoimpl.MessageState
  128. sizeCache protoimpl.SizeCache
  129. unknownFields protoimpl.UnknownFields
  130. }
  131. func (x *FieldsType) Reset() {
  132. *x = FieldsType{}
  133. if protoimpl.UnsafeEnabled {
  134. mi := &file_backend_ops_fields_proto_msgTypes[0]
  135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  136. ms.StoreMessageInfo(mi)
  137. }
  138. }
  139. func (x *FieldsType) String() string {
  140. return protoimpl.X.MessageStringOf(x)
  141. }
  142. func (*FieldsType) ProtoMessage() {}
  143. func (x *FieldsType) ProtoReflect() protoreflect.Message {
  144. mi := &file_backend_ops_fields_proto_msgTypes[0]
  145. if protoimpl.UnsafeEnabled && x != nil {
  146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  147. if ms.LoadMessageInfo() == nil {
  148. ms.StoreMessageInfo(mi)
  149. }
  150. return ms
  151. }
  152. return mi.MessageOf(x)
  153. }
  154. // Deprecated: Use FieldsType.ProtoReflect.Descriptor instead.
  155. func (*FieldsType) Descriptor() ([]byte, []int) {
  156. return file_backend_ops_fields_proto_rawDescGZIP(), []int{0}
  157. }
  158. type ComponentsType struct {
  159. state protoimpl.MessageState
  160. sizeCache protoimpl.SizeCache
  161. unknownFields protoimpl.UnknownFields
  162. }
  163. func (x *ComponentsType) Reset() {
  164. *x = ComponentsType{}
  165. if protoimpl.UnsafeEnabled {
  166. mi := &file_backend_ops_fields_proto_msgTypes[1]
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. ms.StoreMessageInfo(mi)
  169. }
  170. }
  171. func (x *ComponentsType) String() string {
  172. return protoimpl.X.MessageStringOf(x)
  173. }
  174. func (*ComponentsType) ProtoMessage() {}
  175. func (x *ComponentsType) ProtoReflect() protoreflect.Message {
  176. mi := &file_backend_ops_fields_proto_msgTypes[1]
  177. if protoimpl.UnsafeEnabled && x != nil {
  178. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  179. if ms.LoadMessageInfo() == nil {
  180. ms.StoreMessageInfo(mi)
  181. }
  182. return ms
  183. }
  184. return mi.MessageOf(x)
  185. }
  186. // Deprecated: Use ComponentsType.ProtoReflect.Descriptor instead.
  187. func (*ComponentsType) Descriptor() ([]byte, []int) {
  188. return file_backend_ops_fields_proto_rawDescGZIP(), []int{1}
  189. }
  190. type CreatedFiledRequest struct {
  191. state protoimpl.MessageState
  192. sizeCache protoimpl.SizeCache
  193. unknownFields protoimpl.UnknownFields
  194. FirstCategoryId uint32 `protobuf:"varint,1,opt,name=first_category_id,json=firstCategoryId,proto3" json:"first_category_id,omitempty"` // 字段分类一级id
  195. SecondCategoryId uint32 `protobuf:"varint,2,opt,name=second_category_id,json=secondCategoryId,proto3" json:"second_category_id,omitempty"` // 字段分类二级id
  196. ThirdCategoryId uint32 `protobuf:"varint,3,opt,name=third_category_id,json=thirdCategoryId,proto3" json:"third_category_id,omitempty"` // 字段分类三级id
  197. FiledName string `protobuf:"bytes,4,opt,name=filed_name,json=filedName,proto3" json:"filed_name,omitempty"` // 字段名称
  198. FieldType FieldsType_Kind `protobuf:"varint,5,opt,name=field_type,json=fieldType,proto3,enum=ops.FieldsType_Kind" json:"field_type,omitempty"` // 字段类型
  199. ComponentsType ComponentsType_Kind `protobuf:"varint,6,opt,name=componentsType,proto3,enum=ops.ComponentsType_Kind" json:"componentsType,omitempty"` // 组件类型
  200. FiledLen uint32 `protobuf:"varint,7,opt,name=filed_len,json=filedLen,proto3" json:"filed_len,omitempty"` // 字段长度
  201. MinValue int64 `protobuf:"varint,8,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"` // 字段取值范围最小值
  202. MaxValue int32 `protobuf:"varint,9,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"` // 字段取值范围最大值
  203. CalculationRules string `protobuf:"bytes,10,opt,name=calculation_rules,json=calculationRules,proto3" json:"calculation_rules,omitempty"` // 计算规则
  204. }
  205. func (x *CreatedFiledRequest) Reset() {
  206. *x = CreatedFiledRequest{}
  207. if protoimpl.UnsafeEnabled {
  208. mi := &file_backend_ops_fields_proto_msgTypes[2]
  209. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  210. ms.StoreMessageInfo(mi)
  211. }
  212. }
  213. func (x *CreatedFiledRequest) String() string {
  214. return protoimpl.X.MessageStringOf(x)
  215. }
  216. func (*CreatedFiledRequest) ProtoMessage() {}
  217. func (x *CreatedFiledRequest) ProtoReflect() protoreflect.Message {
  218. mi := &file_backend_ops_fields_proto_msgTypes[2]
  219. if protoimpl.UnsafeEnabled && x != nil {
  220. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  221. if ms.LoadMessageInfo() == nil {
  222. ms.StoreMessageInfo(mi)
  223. }
  224. return ms
  225. }
  226. return mi.MessageOf(x)
  227. }
  228. // Deprecated: Use CreatedFiledRequest.ProtoReflect.Descriptor instead.
  229. func (*CreatedFiledRequest) Descriptor() ([]byte, []int) {
  230. return file_backend_ops_fields_proto_rawDescGZIP(), []int{2}
  231. }
  232. func (x *CreatedFiledRequest) GetFirstCategoryId() uint32 {
  233. if x != nil {
  234. return x.FirstCategoryId
  235. }
  236. return 0
  237. }
  238. func (x *CreatedFiledRequest) GetSecondCategoryId() uint32 {
  239. if x != nil {
  240. return x.SecondCategoryId
  241. }
  242. return 0
  243. }
  244. func (x *CreatedFiledRequest) GetThirdCategoryId() uint32 {
  245. if x != nil {
  246. return x.ThirdCategoryId
  247. }
  248. return 0
  249. }
  250. func (x *CreatedFiledRequest) GetFiledName() string {
  251. if x != nil {
  252. return x.FiledName
  253. }
  254. return ""
  255. }
  256. func (x *CreatedFiledRequest) GetFieldType() FieldsType_Kind {
  257. if x != nil {
  258. return x.FieldType
  259. }
  260. return FieldsType_INVALID_FIELD
  261. }
  262. func (x *CreatedFiledRequest) GetComponentsType() ComponentsType_Kind {
  263. if x != nil {
  264. return x.ComponentsType
  265. }
  266. return ComponentsType_SINGLE_LINE_TEXT
  267. }
  268. func (x *CreatedFiledRequest) GetFiledLen() uint32 {
  269. if x != nil {
  270. return x.FiledLen
  271. }
  272. return 0
  273. }
  274. func (x *CreatedFiledRequest) GetMinValue() int64 {
  275. if x != nil {
  276. return x.MinValue
  277. }
  278. return 0
  279. }
  280. func (x *CreatedFiledRequest) GetMaxValue() int32 {
  281. if x != nil {
  282. return x.MaxValue
  283. }
  284. return 0
  285. }
  286. func (x *CreatedFiledRequest) GetCalculationRules() string {
  287. if x != nil {
  288. return x.CalculationRules
  289. }
  290. return ""
  291. }
  292. type CreatedFiledResponse struct {
  293. state protoimpl.MessageState
  294. sizeCache protoimpl.SizeCache
  295. unknownFields protoimpl.UnknownFields
  296. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  297. }
  298. func (x *CreatedFiledResponse) Reset() {
  299. *x = CreatedFiledResponse{}
  300. if protoimpl.UnsafeEnabled {
  301. mi := &file_backend_ops_fields_proto_msgTypes[3]
  302. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  303. ms.StoreMessageInfo(mi)
  304. }
  305. }
  306. func (x *CreatedFiledResponse) String() string {
  307. return protoimpl.X.MessageStringOf(x)
  308. }
  309. func (*CreatedFiledResponse) ProtoMessage() {}
  310. func (x *CreatedFiledResponse) ProtoReflect() protoreflect.Message {
  311. mi := &file_backend_ops_fields_proto_msgTypes[3]
  312. if protoimpl.UnsafeEnabled && x != nil {
  313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  314. if ms.LoadMessageInfo() == nil {
  315. ms.StoreMessageInfo(mi)
  316. }
  317. return ms
  318. }
  319. return mi.MessageOf(x)
  320. }
  321. // Deprecated: Use CreatedFiledResponse.ProtoReflect.Descriptor instead.
  322. func (*CreatedFiledResponse) Descriptor() ([]byte, []int) {
  323. return file_backend_ops_fields_proto_rawDescGZIP(), []int{3}
  324. }
  325. func (x *CreatedFiledResponse) GetId() string {
  326. if x != nil {
  327. return x.Id
  328. }
  329. return ""
  330. }
  331. var File_backend_ops_fields_proto protoreflect.FileDescriptor
  332. var file_backend_ops_fields_proto_rawDesc = []byte{
  333. 0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x73, 0x2f, 0x66, 0x69,
  334. 0x65, 0x6c, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x6f, 0x70, 0x73, 0x22,
  335. 0x6b, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22, 0x5d, 0x0a,
  336. 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
  337. 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41,
  338. 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10,
  339. 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x03, 0x12, 0x07,
  340. 0x0a, 0x03, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54,
  341. 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x06, 0x22, 0xa5, 0x01, 0x0a,
  342. 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x22,
  343. 0x92, 0x01, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x49, 0x4e, 0x47,
  344. 0x4c, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, 0x12, 0x13,
  345. 0x0a, 0x0f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x45, 0x58,
  346. 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x42, 0x4f,
  347. 0x58, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x61, 0x64, 0x69, 0x6f, 0x5f, 0x42, 0x4f, 0x58,
  348. 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x5f, 0x42, 0x4f, 0x58, 0x10,
  349. 0x04, 0x12, 0x14, 0x0a, 0x10, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x50,
  350. 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f,
  351. 0x50, 0x49, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x57, 0x49, 0x54,
  352. 0x43, 0x48, 0x10, 0x07, 0x22, 0xb5, 0x03, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  353. 0x46, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11,
  354. 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69,
  355. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x66, 0x69, 0x72, 0x73, 0x74, 0x43, 0x61,
  356. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x65, 0x63, 0x6f,
  357. 0x6e, 0x64, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02,
  358. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x43, 0x61, 0x74, 0x65,
  359. 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f,
  360. 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
  361. 0x0d, 0x52, 0x0f, 0x74, 0x68, 0x69, 0x72, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  362. 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  363. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x4e, 0x61, 0x6d,
  364. 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  365. 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6f, 0x70, 0x73, 0x2e, 0x46, 0x69, 0x65, 0x6c,
  366. 0x64, 0x73, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x66, 0x69, 0x65,
  367. 0x6c, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
  368. 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18,
  369. 0x2e, 0x6f, 0x70, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x54,
  370. 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
  371. 0x65, 0x6e, 0x74, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65,
  372. 0x64, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x66, 0x69, 0x6c,
  373. 0x65, 0x64, 0x4c, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x61, 0x6c,
  374. 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x56, 0x61, 0x6c,
  375. 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  376. 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
  377. 0x2b, 0x0a, 0x11, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72,
  378. 0x75, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x61, 0x6c, 0x63,
  379. 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x14,
  380. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70,
  381. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  382. 0x52, 0x02, 0x69, 0x64, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x3b, 0x66, 0x69, 0x6c, 0x65, 0x64, 0x50,
  383. 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  384. }
  385. var (
  386. file_backend_ops_fields_proto_rawDescOnce sync.Once
  387. file_backend_ops_fields_proto_rawDescData = file_backend_ops_fields_proto_rawDesc
  388. )
  389. func file_backend_ops_fields_proto_rawDescGZIP() []byte {
  390. file_backend_ops_fields_proto_rawDescOnce.Do(func() {
  391. file_backend_ops_fields_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_ops_fields_proto_rawDescData)
  392. })
  393. return file_backend_ops_fields_proto_rawDescData
  394. }
  395. var file_backend_ops_fields_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  396. var file_backend_ops_fields_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  397. var file_backend_ops_fields_proto_goTypes = []interface{}{
  398. (FieldsType_Kind)(0), // 0: ops.FieldsType.Kind
  399. (ComponentsType_Kind)(0), // 1: ops.ComponentsType.Kind
  400. (*FieldsType)(nil), // 2: ops.FieldsType
  401. (*ComponentsType)(nil), // 3: ops.ComponentsType
  402. (*CreatedFiledRequest)(nil), // 4: ops.CreatedFiledRequest
  403. (*CreatedFiledResponse)(nil), // 5: ops.CreatedFiledResponse
  404. }
  405. var file_backend_ops_fields_proto_depIdxs = []int32{
  406. 0, // 0: ops.CreatedFiledRequest.field_type:type_name -> ops.FieldsType.Kind
  407. 1, // 1: ops.CreatedFiledRequest.componentsType:type_name -> ops.ComponentsType.Kind
  408. 2, // [2:2] is the sub-list for method output_type
  409. 2, // [2:2] is the sub-list for method input_type
  410. 2, // [2:2] is the sub-list for extension type_name
  411. 2, // [2:2] is the sub-list for extension extendee
  412. 0, // [0:2] is the sub-list for field type_name
  413. }
  414. func init() { file_backend_ops_fields_proto_init() }
  415. func file_backend_ops_fields_proto_init() {
  416. if File_backend_ops_fields_proto != nil {
  417. return
  418. }
  419. if !protoimpl.UnsafeEnabled {
  420. file_backend_ops_fields_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  421. switch v := v.(*FieldsType); i {
  422. case 0:
  423. return &v.state
  424. case 1:
  425. return &v.sizeCache
  426. case 2:
  427. return &v.unknownFields
  428. default:
  429. return nil
  430. }
  431. }
  432. file_backend_ops_fields_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  433. switch v := v.(*ComponentsType); i {
  434. case 0:
  435. return &v.state
  436. case 1:
  437. return &v.sizeCache
  438. case 2:
  439. return &v.unknownFields
  440. default:
  441. return nil
  442. }
  443. }
  444. file_backend_ops_fields_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  445. switch v := v.(*CreatedFiledRequest); i {
  446. case 0:
  447. return &v.state
  448. case 1:
  449. return &v.sizeCache
  450. case 2:
  451. return &v.unknownFields
  452. default:
  453. return nil
  454. }
  455. }
  456. file_backend_ops_fields_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  457. switch v := v.(*CreatedFiledResponse); i {
  458. case 0:
  459. return &v.state
  460. case 1:
  461. return &v.sizeCache
  462. case 2:
  463. return &v.unknownFields
  464. default:
  465. return nil
  466. }
  467. }
  468. }
  469. type x struct{}
  470. out := protoimpl.TypeBuilder{
  471. File: protoimpl.DescBuilder{
  472. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  473. RawDescriptor: file_backend_ops_fields_proto_rawDesc,
  474. NumEnums: 2,
  475. NumMessages: 4,
  476. NumExtensions: 0,
  477. NumServices: 0,
  478. },
  479. GoTypes: file_backend_ops_fields_proto_goTypes,
  480. DependencyIndexes: file_backend_ops_fields_proto_depIdxs,
  481. EnumInfos: file_backend_ops_fields_proto_enumTypes,
  482. MessageInfos: file_backend_ops_fields_proto_msgTypes,
  483. }.Build()
  484. File_backend_ops_fields_proto = out.File
  485. file_backend_ops_fields_proto_rawDesc = nil
  486. file_backend_ops_fields_proto_goTypes = nil
  487. file_backend_ops_fields_proto_depIdxs = nil
  488. }