enum.pb.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  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/operation/enum.proto
  6. package operationPb
  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 IsShow_Kind int32
  20. const (
  21. IsShow_INVALID IsShow_Kind = 0 // 无效
  22. IsShow_OK IsShow_Kind = 1 // 是
  23. IsShow_NO IsShow_Kind = 2 // 否
  24. )
  25. // Enum value maps for IsShow_Kind.
  26. var (
  27. IsShow_Kind_name = map[int32]string{
  28. 0: "INVALID",
  29. 1: "OK",
  30. 2: "NO",
  31. }
  32. IsShow_Kind_value = map[string]int32{
  33. "INVALID": 0,
  34. "OK": 1,
  35. "NO": 2,
  36. }
  37. )
  38. func (x IsShow_Kind) Enum() *IsShow_Kind {
  39. p := new(IsShow_Kind)
  40. *p = x
  41. return p
  42. }
  43. func (x IsShow_Kind) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (IsShow_Kind) Descriptor() protoreflect.EnumDescriptor {
  47. return file_backend_operation_enum_proto_enumTypes[0].Descriptor()
  48. }
  49. func (IsShow_Kind) Type() protoreflect.EnumType {
  50. return &file_backend_operation_enum_proto_enumTypes[0]
  51. }
  52. func (x IsShow_Kind) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use IsShow_Kind.Descriptor instead.
  56. func (IsShow_Kind) EnumDescriptor() ([]byte, []int) {
  57. return file_backend_operation_enum_proto_rawDescGZIP(), []int{0, 0}
  58. }
  59. type CattleCategoryParent_Kind int32
  60. const (
  61. CattleCategoryParent_INVALID CattleCategoryParent_Kind = 0 // 无效
  62. CattleCategoryParent_LACTATION_CAW CattleCategoryParent_Kind = 1 // 泌乳牛
  63. CattleCategoryParent_FATTEN_CAW CattleCategoryParent_Kind = 2 // 育肥牛
  64. CattleCategoryParent_RESERVE_CAW CattleCategoryParent_Kind = 3 // 后备牛
  65. CattleCategoryParent_DRY_CAW CattleCategoryParent_Kind = 4 // 干奶牛
  66. CattleCategoryParent_PERINATAL_CAW CattleCategoryParent_Kind = 5 // 泌乳牛
  67. CattleCategoryParent_OTHER_CAW CattleCategoryParent_Kind = 6 // 其他
  68. )
  69. // Enum value maps for CattleCategoryParent_Kind.
  70. var (
  71. CattleCategoryParent_Kind_name = map[int32]string{
  72. 0: "INVALID",
  73. 1: "LACTATION_CAW",
  74. 2: "FATTEN_CAW",
  75. 3: "RESERVE_CAW",
  76. 4: "DRY_CAW",
  77. 5: "PERINATAL_CAW",
  78. 6: "OTHER_CAW",
  79. }
  80. CattleCategoryParent_Kind_value = map[string]int32{
  81. "INVALID": 0,
  82. "LACTATION_CAW": 1,
  83. "FATTEN_CAW": 2,
  84. "RESERVE_CAW": 3,
  85. "DRY_CAW": 4,
  86. "PERINATAL_CAW": 5,
  87. "OTHER_CAW": 6,
  88. }
  89. )
  90. func (x CattleCategoryParent_Kind) Enum() *CattleCategoryParent_Kind {
  91. p := new(CattleCategoryParent_Kind)
  92. *p = x
  93. return p
  94. }
  95. func (x CattleCategoryParent_Kind) String() string {
  96. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  97. }
  98. func (CattleCategoryParent_Kind) Descriptor() protoreflect.EnumDescriptor {
  99. return file_backend_operation_enum_proto_enumTypes[1].Descriptor()
  100. }
  101. func (CattleCategoryParent_Kind) Type() protoreflect.EnumType {
  102. return &file_backend_operation_enum_proto_enumTypes[1]
  103. }
  104. func (x CattleCategoryParent_Kind) Number() protoreflect.EnumNumber {
  105. return protoreflect.EnumNumber(x)
  106. }
  107. // Deprecated: Use CattleCategoryParent_Kind.Descriptor instead.
  108. func (CattleCategoryParent_Kind) EnumDescriptor() ([]byte, []int) {
  109. return file_backend_operation_enum_proto_rawDescGZIP(), []int{1, 0}
  110. }
  111. type ForageCategoryParent_Kind int32
  112. const (
  113. ForageCategoryParent_INVALID ForageCategoryParent_Kind = 0 // 无效
  114. ForageCategoryParent_ROUGHAGE ForageCategoryParent_Kind = 1 // 粗料
  115. ForageCategoryParent_CONCENTRATE ForageCategoryParent_Kind = 2 // 精料(浓缩料)
  116. ForageCategoryParent_HALF_ROUGHAGE_HALF_CONCENTRATE ForageCategoryParent_Kind = 3 // 粗料精料各半
  117. ForageCategoryParent_OTHER ForageCategoryParent_Kind = 4 // 其他
  118. )
  119. // Enum value maps for ForageCategoryParent_Kind.
  120. var (
  121. ForageCategoryParent_Kind_name = map[int32]string{
  122. 0: "INVALID",
  123. 1: "ROUGHAGE",
  124. 2: "CONCENTRATE",
  125. 3: "HALF_ROUGHAGE_HALF_CONCENTRATE",
  126. 4: "OTHER",
  127. }
  128. ForageCategoryParent_Kind_value = map[string]int32{
  129. "INVALID": 0,
  130. "ROUGHAGE": 1,
  131. "CONCENTRATE": 2,
  132. "HALF_ROUGHAGE_HALF_CONCENTRATE": 3,
  133. "OTHER": 4,
  134. }
  135. )
  136. func (x ForageCategoryParent_Kind) Enum() *ForageCategoryParent_Kind {
  137. p := new(ForageCategoryParent_Kind)
  138. *p = x
  139. return p
  140. }
  141. func (x ForageCategoryParent_Kind) String() string {
  142. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  143. }
  144. func (ForageCategoryParent_Kind) Descriptor() protoreflect.EnumDescriptor {
  145. return file_backend_operation_enum_proto_enumTypes[2].Descriptor()
  146. }
  147. func (ForageCategoryParent_Kind) Type() protoreflect.EnumType {
  148. return &file_backend_operation_enum_proto_enumTypes[2]
  149. }
  150. func (x ForageCategoryParent_Kind) Number() protoreflect.EnumNumber {
  151. return protoreflect.EnumNumber(x)
  152. }
  153. // Deprecated: Use ForageCategoryParent_Kind.Descriptor instead.
  154. func (ForageCategoryParent_Kind) EnumDescriptor() ([]byte, []int) {
  155. return file_backend_operation_enum_proto_rawDescGZIP(), []int{2, 0}
  156. }
  157. type ForageSource_Kind int32
  158. const (
  159. ForageSource_INVALID ForageSource_Kind = 0 // 无效
  160. ForageSource_SYSTEM_BUILT_IN ForageSource_Kind = 1 // 系统内置
  161. ForageSource_USER_DEFINED ForageSource_Kind = 2 // 用户自定义
  162. )
  163. // Enum value maps for ForageSource_Kind.
  164. var (
  165. ForageSource_Kind_name = map[int32]string{
  166. 0: "INVALID",
  167. 1: "SYSTEM_BUILT_IN",
  168. 2: "USER_DEFINED",
  169. }
  170. ForageSource_Kind_value = map[string]int32{
  171. "INVALID": 0,
  172. "SYSTEM_BUILT_IN": 1,
  173. "USER_DEFINED": 2,
  174. }
  175. )
  176. func (x ForageSource_Kind) Enum() *ForageSource_Kind {
  177. p := new(ForageSource_Kind)
  178. *p = x
  179. return p
  180. }
  181. func (x ForageSource_Kind) String() string {
  182. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  183. }
  184. func (ForageSource_Kind) Descriptor() protoreflect.EnumDescriptor {
  185. return file_backend_operation_enum_proto_enumTypes[3].Descriptor()
  186. }
  187. func (ForageSource_Kind) Type() protoreflect.EnumType {
  188. return &file_backend_operation_enum_proto_enumTypes[3]
  189. }
  190. func (x ForageSource_Kind) Number() protoreflect.EnumNumber {
  191. return protoreflect.EnumNumber(x)
  192. }
  193. // Deprecated: Use ForageSource_Kind.Descriptor instead.
  194. func (ForageSource_Kind) EnumDescriptor() ([]byte, []int) {
  195. return file_backend_operation_enum_proto_rawDescGZIP(), []int{3, 0}
  196. }
  197. type JumpDelaType_Kind int32
  198. const (
  199. JumpDelaType_INVALID JumpDelaType_Kind = 0 // 禁用
  200. JumpDelaType_THREE JumpDelaType_Kind = 1 // 3秒
  201. JumpDelaType_SIX JumpDelaType_Kind = 2 // 6秒
  202. JumpDelaType_NINE JumpDelaType_Kind = 3 // 9秒
  203. )
  204. // Enum value maps for JumpDelaType_Kind.
  205. var (
  206. JumpDelaType_Kind_name = map[int32]string{
  207. 0: "INVALID",
  208. 1: "THREE",
  209. 2: "SIX",
  210. 3: "NINE",
  211. }
  212. JumpDelaType_Kind_value = map[string]int32{
  213. "INVALID": 0,
  214. "THREE": 1,
  215. "SIX": 2,
  216. "NINE": 3,
  217. }
  218. )
  219. func (x JumpDelaType_Kind) Enum() *JumpDelaType_Kind {
  220. p := new(JumpDelaType_Kind)
  221. *p = x
  222. return p
  223. }
  224. func (x JumpDelaType_Kind) String() string {
  225. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  226. }
  227. func (JumpDelaType_Kind) Descriptor() protoreflect.EnumDescriptor {
  228. return file_backend_operation_enum_proto_enumTypes[4].Descriptor()
  229. }
  230. func (JumpDelaType_Kind) Type() protoreflect.EnumType {
  231. return &file_backend_operation_enum_proto_enumTypes[4]
  232. }
  233. func (x JumpDelaType_Kind) Number() protoreflect.EnumNumber {
  234. return protoreflect.EnumNumber(x)
  235. }
  236. // Deprecated: Use JumpDelaType_Kind.Descriptor instead.
  237. func (JumpDelaType_Kind) EnumDescriptor() ([]byte, []int) {
  238. return file_backend_operation_enum_proto_rawDescGZIP(), []int{4, 0}
  239. }
  240. type ForagePlanType_Kind int32
  241. const (
  242. ForagePlanType_INVALID ForagePlanType_Kind = 0 // 无
  243. ForagePlanType_FORKLIFT ForagePlanType_Kind = 1 // 铲车
  244. ForagePlanType_CONCENTRATE ForagePlanType_Kind = 2 // 精料
  245. )
  246. // Enum value maps for ForagePlanType_Kind.
  247. var (
  248. ForagePlanType_Kind_name = map[int32]string{
  249. 0: "INVALID",
  250. 1: "FORKLIFT",
  251. 2: "CONCENTRATE",
  252. }
  253. ForagePlanType_Kind_value = map[string]int32{
  254. "INVALID": 0,
  255. "FORKLIFT": 1,
  256. "CONCENTRATE": 2,
  257. }
  258. )
  259. func (x ForagePlanType_Kind) Enum() *ForagePlanType_Kind {
  260. p := new(ForagePlanType_Kind)
  261. *p = x
  262. return p
  263. }
  264. func (x ForagePlanType_Kind) String() string {
  265. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  266. }
  267. func (ForagePlanType_Kind) Descriptor() protoreflect.EnumDescriptor {
  268. return file_backend_operation_enum_proto_enumTypes[5].Descriptor()
  269. }
  270. func (ForagePlanType_Kind) Type() protoreflect.EnumType {
  271. return &file_backend_operation_enum_proto_enumTypes[5]
  272. }
  273. func (x ForagePlanType_Kind) Number() protoreflect.EnumNumber {
  274. return protoreflect.EnumNumber(x)
  275. }
  276. // Deprecated: Use ForagePlanType_Kind.Descriptor instead.
  277. func (ForagePlanType_Kind) EnumDescriptor() ([]byte, []int) {
  278. return file_backend_operation_enum_proto_rawDescGZIP(), []int{5, 0}
  279. }
  280. type DataSource_Kind int32
  281. const (
  282. DataSource_INVALID DataSource_Kind = 0 // 无
  283. DataSource_BACKGROUND_ADD DataSource_Kind = 1 // 后台手动添加
  284. DataSource_EXCEL_IMPORT DataSource_Kind = 2 // excel报表导入
  285. DataSource_FROM_PASTURE DataSource_Kind = 3 // 来自牧场
  286. )
  287. // Enum value maps for DataSource_Kind.
  288. var (
  289. DataSource_Kind_name = map[int32]string{
  290. 0: "INVALID",
  291. 1: "BACKGROUND_ADD",
  292. 2: "EXCEL_IMPORT",
  293. 3: "FROM_PASTURE",
  294. }
  295. DataSource_Kind_value = map[string]int32{
  296. "INVALID": 0,
  297. "BACKGROUND_ADD": 1,
  298. "EXCEL_IMPORT": 2,
  299. "FROM_PASTURE": 3,
  300. }
  301. )
  302. func (x DataSource_Kind) Enum() *DataSource_Kind {
  303. p := new(DataSource_Kind)
  304. *p = x
  305. return p
  306. }
  307. func (x DataSource_Kind) String() string {
  308. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  309. }
  310. func (DataSource_Kind) Descriptor() protoreflect.EnumDescriptor {
  311. return file_backend_operation_enum_proto_enumTypes[6].Descriptor()
  312. }
  313. func (DataSource_Kind) Type() protoreflect.EnumType {
  314. return &file_backend_operation_enum_proto_enumTypes[6]
  315. }
  316. func (x DataSource_Kind) Number() protoreflect.EnumNumber {
  317. return protoreflect.EnumNumber(x)
  318. }
  319. // Deprecated: Use DataSource_Kind.Descriptor instead.
  320. func (DataSource_Kind) EnumDescriptor() ([]byte, []int) {
  321. return file_backend_operation_enum_proto_rawDescGZIP(), []int{6, 0}
  322. }
  323. // 字段类型
  324. type IsShow struct {
  325. state protoimpl.MessageState
  326. sizeCache protoimpl.SizeCache
  327. unknownFields protoimpl.UnknownFields
  328. }
  329. func (x *IsShow) Reset() {
  330. *x = IsShow{}
  331. if protoimpl.UnsafeEnabled {
  332. mi := &file_backend_operation_enum_proto_msgTypes[0]
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. ms.StoreMessageInfo(mi)
  335. }
  336. }
  337. func (x *IsShow) String() string {
  338. return protoimpl.X.MessageStringOf(x)
  339. }
  340. func (*IsShow) ProtoMessage() {}
  341. func (x *IsShow) ProtoReflect() protoreflect.Message {
  342. mi := &file_backend_operation_enum_proto_msgTypes[0]
  343. if protoimpl.UnsafeEnabled && x != nil {
  344. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  345. if ms.LoadMessageInfo() == nil {
  346. ms.StoreMessageInfo(mi)
  347. }
  348. return ms
  349. }
  350. return mi.MessageOf(x)
  351. }
  352. // Deprecated: Use IsShow.ProtoReflect.Descriptor instead.
  353. func (*IsShow) Descriptor() ([]byte, []int) {
  354. return file_backend_operation_enum_proto_rawDescGZIP(), []int{0}
  355. }
  356. type CattleCategoryParent struct {
  357. state protoimpl.MessageState
  358. sizeCache protoimpl.SizeCache
  359. unknownFields protoimpl.UnknownFields
  360. }
  361. func (x *CattleCategoryParent) Reset() {
  362. *x = CattleCategoryParent{}
  363. if protoimpl.UnsafeEnabled {
  364. mi := &file_backend_operation_enum_proto_msgTypes[1]
  365. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  366. ms.StoreMessageInfo(mi)
  367. }
  368. }
  369. func (x *CattleCategoryParent) String() string {
  370. return protoimpl.X.MessageStringOf(x)
  371. }
  372. func (*CattleCategoryParent) ProtoMessage() {}
  373. func (x *CattleCategoryParent) ProtoReflect() protoreflect.Message {
  374. mi := &file_backend_operation_enum_proto_msgTypes[1]
  375. if protoimpl.UnsafeEnabled && x != nil {
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. if ms.LoadMessageInfo() == nil {
  378. ms.StoreMessageInfo(mi)
  379. }
  380. return ms
  381. }
  382. return mi.MessageOf(x)
  383. }
  384. // Deprecated: Use CattleCategoryParent.ProtoReflect.Descriptor instead.
  385. func (*CattleCategoryParent) Descriptor() ([]byte, []int) {
  386. return file_backend_operation_enum_proto_rawDescGZIP(), []int{1}
  387. }
  388. // 饲料类别
  389. type ForageCategoryParent struct {
  390. state protoimpl.MessageState
  391. sizeCache protoimpl.SizeCache
  392. unknownFields protoimpl.UnknownFields
  393. }
  394. func (x *ForageCategoryParent) Reset() {
  395. *x = ForageCategoryParent{}
  396. if protoimpl.UnsafeEnabled {
  397. mi := &file_backend_operation_enum_proto_msgTypes[2]
  398. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  399. ms.StoreMessageInfo(mi)
  400. }
  401. }
  402. func (x *ForageCategoryParent) String() string {
  403. return protoimpl.X.MessageStringOf(x)
  404. }
  405. func (*ForageCategoryParent) ProtoMessage() {}
  406. func (x *ForageCategoryParent) ProtoReflect() protoreflect.Message {
  407. mi := &file_backend_operation_enum_proto_msgTypes[2]
  408. if protoimpl.UnsafeEnabled && x != nil {
  409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  410. if ms.LoadMessageInfo() == nil {
  411. ms.StoreMessageInfo(mi)
  412. }
  413. return ms
  414. }
  415. return mi.MessageOf(x)
  416. }
  417. // Deprecated: Use ForageCategoryParent.ProtoReflect.Descriptor instead.
  418. func (*ForageCategoryParent) Descriptor() ([]byte, []int) {
  419. return file_backend_operation_enum_proto_rawDescGZIP(), []int{2}
  420. }
  421. // 饲料来源
  422. type ForageSource struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. }
  427. func (x *ForageSource) Reset() {
  428. *x = ForageSource{}
  429. if protoimpl.UnsafeEnabled {
  430. mi := &file_backend_operation_enum_proto_msgTypes[3]
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. ms.StoreMessageInfo(mi)
  433. }
  434. }
  435. func (x *ForageSource) String() string {
  436. return protoimpl.X.MessageStringOf(x)
  437. }
  438. func (*ForageSource) ProtoMessage() {}
  439. func (x *ForageSource) ProtoReflect() protoreflect.Message {
  440. mi := &file_backend_operation_enum_proto_msgTypes[3]
  441. if protoimpl.UnsafeEnabled && x != nil {
  442. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  443. if ms.LoadMessageInfo() == nil {
  444. ms.StoreMessageInfo(mi)
  445. }
  446. return ms
  447. }
  448. return mi.MessageOf(x)
  449. }
  450. // Deprecated: Use ForageSource.ProtoReflect.Descriptor instead.
  451. func (*ForageSource) Descriptor() ([]byte, []int) {
  452. return file_backend_operation_enum_proto_rawDescGZIP(), []int{3}
  453. }
  454. // 跳转延迟
  455. type JumpDelaType struct {
  456. state protoimpl.MessageState
  457. sizeCache protoimpl.SizeCache
  458. unknownFields protoimpl.UnknownFields
  459. }
  460. func (x *JumpDelaType) Reset() {
  461. *x = JumpDelaType{}
  462. if protoimpl.UnsafeEnabled {
  463. mi := &file_backend_operation_enum_proto_msgTypes[4]
  464. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  465. ms.StoreMessageInfo(mi)
  466. }
  467. }
  468. func (x *JumpDelaType) String() string {
  469. return protoimpl.X.MessageStringOf(x)
  470. }
  471. func (*JumpDelaType) ProtoMessage() {}
  472. func (x *JumpDelaType) ProtoReflect() protoreflect.Message {
  473. mi := &file_backend_operation_enum_proto_msgTypes[4]
  474. if protoimpl.UnsafeEnabled && x != nil {
  475. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  476. if ms.LoadMessageInfo() == nil {
  477. ms.StoreMessageInfo(mi)
  478. }
  479. return ms
  480. }
  481. return mi.MessageOf(x)
  482. }
  483. // Deprecated: Use JumpDelaType.ProtoReflect.Descriptor instead.
  484. func (*JumpDelaType) Descriptor() ([]byte, []int) {
  485. return file_backend_operation_enum_proto_rawDescGZIP(), []int{4}
  486. }
  487. // 计划类型
  488. type ForagePlanType struct {
  489. state protoimpl.MessageState
  490. sizeCache protoimpl.SizeCache
  491. unknownFields protoimpl.UnknownFields
  492. }
  493. func (x *ForagePlanType) Reset() {
  494. *x = ForagePlanType{}
  495. if protoimpl.UnsafeEnabled {
  496. mi := &file_backend_operation_enum_proto_msgTypes[5]
  497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  498. ms.StoreMessageInfo(mi)
  499. }
  500. }
  501. func (x *ForagePlanType) String() string {
  502. return protoimpl.X.MessageStringOf(x)
  503. }
  504. func (*ForagePlanType) ProtoMessage() {}
  505. func (x *ForagePlanType) ProtoReflect() protoreflect.Message {
  506. mi := &file_backend_operation_enum_proto_msgTypes[5]
  507. if protoimpl.UnsafeEnabled && x != nil {
  508. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  509. if ms.LoadMessageInfo() == nil {
  510. ms.StoreMessageInfo(mi)
  511. }
  512. return ms
  513. }
  514. return mi.MessageOf(x)
  515. }
  516. // Deprecated: Use ForagePlanType.ProtoReflect.Descriptor instead.
  517. func (*ForagePlanType) Descriptor() ([]byte, []int) {
  518. return file_backend_operation_enum_proto_rawDescGZIP(), []int{5}
  519. }
  520. type DataSource struct {
  521. state protoimpl.MessageState
  522. sizeCache protoimpl.SizeCache
  523. unknownFields protoimpl.UnknownFields
  524. }
  525. func (x *DataSource) Reset() {
  526. *x = DataSource{}
  527. if protoimpl.UnsafeEnabled {
  528. mi := &file_backend_operation_enum_proto_msgTypes[6]
  529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  530. ms.StoreMessageInfo(mi)
  531. }
  532. }
  533. func (x *DataSource) String() string {
  534. return protoimpl.X.MessageStringOf(x)
  535. }
  536. func (*DataSource) ProtoMessage() {}
  537. func (x *DataSource) ProtoReflect() protoreflect.Message {
  538. mi := &file_backend_operation_enum_proto_msgTypes[6]
  539. if protoimpl.UnsafeEnabled && x != nil {
  540. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  541. if ms.LoadMessageInfo() == nil {
  542. ms.StoreMessageInfo(mi)
  543. }
  544. return ms
  545. }
  546. return mi.MessageOf(x)
  547. }
  548. // Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
  549. func (*DataSource) Descriptor() ([]byte, []int) {
  550. return file_backend_operation_enum_proto_rawDescGZIP(), []int{6}
  551. }
  552. var File_backend_operation_enum_proto protoreflect.FileDescriptor
  553. var file_backend_operation_enum_proto_rawDesc = []byte{
  554. 0x0a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  555. 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11,
  556. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  557. 0x6e, 0x22, 0x2d, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0x23, 0x0a, 0x04, 0x4b,
  558. 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00,
  559. 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x4e, 0x4f, 0x10, 0x02,
  560. 0x22, 0x8e, 0x01, 0x0a, 0x14, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67,
  561. 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x76, 0x0a, 0x04, 0x4b, 0x69, 0x6e,
  562. 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x11,
  563. 0x0a, 0x0d, 0x4c, 0x41, 0x43, 0x54, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x57, 0x10,
  564. 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x5f, 0x43, 0x41, 0x57, 0x10,
  565. 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45, 0x5f, 0x43, 0x41, 0x57,
  566. 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x52, 0x59, 0x5f, 0x43, 0x41, 0x57, 0x10, 0x04, 0x12,
  567. 0x11, 0x0a, 0x0d, 0x50, 0x45, 0x52, 0x49, 0x4e, 0x41, 0x54, 0x41, 0x4c, 0x5f, 0x43, 0x41, 0x57,
  568. 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x57, 0x10,
  569. 0x06, 0x22, 0x79, 0x0a, 0x14, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67,
  570. 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x61, 0x0a, 0x04, 0x4b, 0x69, 0x6e,
  571. 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0c,
  572. 0x0a, 0x08, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b,
  573. 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x22, 0x0a,
  574. 0x1e, 0x48, 0x41, 0x4c, 0x46, 0x5f, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x41, 0x47, 0x45, 0x5f, 0x48,
  575. 0x41, 0x4c, 0x46, 0x5f, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10,
  576. 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x04, 0x22, 0x4a, 0x0a, 0x0c,
  577. 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x3a, 0x0a, 0x04,
  578. 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10,
  579. 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x42, 0x55, 0x49, 0x4c,
  580. 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44,
  581. 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x22, 0x41, 0x0a, 0x0c, 0x4a, 0x75, 0x6d, 0x70,
  582. 0x44, 0x65, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64,
  583. 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a,
  584. 0x05, 0x54, 0x48, 0x52, 0x45, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x49, 0x58, 0x10,
  585. 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x44, 0x0a, 0x0e, 0x46,
  586. 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x32, 0x0a,
  587. 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44,
  588. 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x4f, 0x52, 0x4b, 0x4c, 0x49, 0x46, 0x54, 0x10, 0x01,
  589. 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x54, 0x45, 0x10,
  590. 0x02, 0x22, 0x59, 0x0a, 0x0a, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22,
  591. 0x4b, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c,
  592. 0x49, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, 0x4f, 0x55,
  593. 0x4e, 0x44, 0x5f, 0x41, 0x44, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x45, 0x58, 0x43, 0x45,
  594. 0x4c, 0x5f, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x52,
  595. 0x4f, 0x4d, 0x5f, 0x50, 0x41, 0x53, 0x54, 0x55, 0x52, 0x45, 0x10, 0x03, 0x42, 0x0f, 0x5a, 0x0d,
  596. 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70,
  597. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  598. }
  599. var (
  600. file_backend_operation_enum_proto_rawDescOnce sync.Once
  601. file_backend_operation_enum_proto_rawDescData = file_backend_operation_enum_proto_rawDesc
  602. )
  603. func file_backend_operation_enum_proto_rawDescGZIP() []byte {
  604. file_backend_operation_enum_proto_rawDescOnce.Do(func() {
  605. file_backend_operation_enum_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_enum_proto_rawDescData)
  606. })
  607. return file_backend_operation_enum_proto_rawDescData
  608. }
  609. var file_backend_operation_enum_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
  610. var file_backend_operation_enum_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  611. var file_backend_operation_enum_proto_goTypes = []interface{}{
  612. (IsShow_Kind)(0), // 0: backend.operation.IsShow.Kind
  613. (CattleCategoryParent_Kind)(0), // 1: backend.operation.CattleCategoryParent.Kind
  614. (ForageCategoryParent_Kind)(0), // 2: backend.operation.ForageCategoryParent.Kind
  615. (ForageSource_Kind)(0), // 3: backend.operation.ForageSource.Kind
  616. (JumpDelaType_Kind)(0), // 4: backend.operation.JumpDelaType.Kind
  617. (ForagePlanType_Kind)(0), // 5: backend.operation.ForagePlanType.Kind
  618. (DataSource_Kind)(0), // 6: backend.operation.DataSource.Kind
  619. (*IsShow)(nil), // 7: backend.operation.IsShow
  620. (*CattleCategoryParent)(nil), // 8: backend.operation.CattleCategoryParent
  621. (*ForageCategoryParent)(nil), // 9: backend.operation.ForageCategoryParent
  622. (*ForageSource)(nil), // 10: backend.operation.ForageSource
  623. (*JumpDelaType)(nil), // 11: backend.operation.JumpDelaType
  624. (*ForagePlanType)(nil), // 12: backend.operation.ForagePlanType
  625. (*DataSource)(nil), // 13: backend.operation.DataSource
  626. }
  627. var file_backend_operation_enum_proto_depIdxs = []int32{
  628. 0, // [0:0] is the sub-list for method output_type
  629. 0, // [0:0] is the sub-list for method input_type
  630. 0, // [0:0] is the sub-list for extension type_name
  631. 0, // [0:0] is the sub-list for extension extendee
  632. 0, // [0:0] is the sub-list for field type_name
  633. }
  634. func init() { file_backend_operation_enum_proto_init() }
  635. func file_backend_operation_enum_proto_init() {
  636. if File_backend_operation_enum_proto != nil {
  637. return
  638. }
  639. if !protoimpl.UnsafeEnabled {
  640. file_backend_operation_enum_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  641. switch v := v.(*IsShow); i {
  642. case 0:
  643. return &v.state
  644. case 1:
  645. return &v.sizeCache
  646. case 2:
  647. return &v.unknownFields
  648. default:
  649. return nil
  650. }
  651. }
  652. file_backend_operation_enum_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  653. switch v := v.(*CattleCategoryParent); i {
  654. case 0:
  655. return &v.state
  656. case 1:
  657. return &v.sizeCache
  658. case 2:
  659. return &v.unknownFields
  660. default:
  661. return nil
  662. }
  663. }
  664. file_backend_operation_enum_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  665. switch v := v.(*ForageCategoryParent); i {
  666. case 0:
  667. return &v.state
  668. case 1:
  669. return &v.sizeCache
  670. case 2:
  671. return &v.unknownFields
  672. default:
  673. return nil
  674. }
  675. }
  676. file_backend_operation_enum_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  677. switch v := v.(*ForageSource); i {
  678. case 0:
  679. return &v.state
  680. case 1:
  681. return &v.sizeCache
  682. case 2:
  683. return &v.unknownFields
  684. default:
  685. return nil
  686. }
  687. }
  688. file_backend_operation_enum_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  689. switch v := v.(*JumpDelaType); i {
  690. case 0:
  691. return &v.state
  692. case 1:
  693. return &v.sizeCache
  694. case 2:
  695. return &v.unknownFields
  696. default:
  697. return nil
  698. }
  699. }
  700. file_backend_operation_enum_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  701. switch v := v.(*ForagePlanType); i {
  702. case 0:
  703. return &v.state
  704. case 1:
  705. return &v.sizeCache
  706. case 2:
  707. return &v.unknownFields
  708. default:
  709. return nil
  710. }
  711. }
  712. file_backend_operation_enum_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  713. switch v := v.(*DataSource); i {
  714. case 0:
  715. return &v.state
  716. case 1:
  717. return &v.sizeCache
  718. case 2:
  719. return &v.unknownFields
  720. default:
  721. return nil
  722. }
  723. }
  724. }
  725. type x struct{}
  726. out := protoimpl.TypeBuilder{
  727. File: protoimpl.DescBuilder{
  728. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  729. RawDescriptor: file_backend_operation_enum_proto_rawDesc,
  730. NumEnums: 7,
  731. NumMessages: 7,
  732. NumExtensions: 0,
  733. NumServices: 0,
  734. },
  735. GoTypes: file_backend_operation_enum_proto_goTypes,
  736. DependencyIndexes: file_backend_operation_enum_proto_depIdxs,
  737. EnumInfos: file_backend_operation_enum_proto_enumTypes,
  738. MessageInfos: file_backend_operation_enum_proto_msgTypes,
  739. }.Build()
  740. File_backend_operation_enum_proto = out.File
  741. file_backend_operation_enum_proto_rawDesc = nil
  742. file_backend_operation_enum_proto_goTypes = nil
  743. file_backend_operation_enum_proto_depIdxs = nil
  744. }