feed_formula.pb.go 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  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/feed_formula.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 AddFeedFormulaRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 名称
  25. EncodeNumber string `protobuf:"bytes,3,opt,name=encode_number,json=encodeNumber,proto3" json:"encode_number,omitempty"` // 编码
  26. Colour string `protobuf:"bytes,4,opt,name=colour,proto3" json:"colour,omitempty"` // 颜色
  27. CattleCategoryId CattleCategoryParent_Kind `protobuf:"varint,5,opt,name=cattle_category_id,json=cattleCategoryId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"cattle_category_id,omitempty"` // 畜牧类别id
  28. CattleCategoryName string `protobuf:"bytes,6,opt,name=cattle_category_name,json=cattleCategoryName,proto3" json:"cattle_category_name,omitempty"` // 畜牧类型名称
  29. FormulaTypeId int32 `protobuf:"varint,7,opt,name=formula_type_id,json=formulaTypeId,proto3" json:"formula_type_id,omitempty"` // 配方类型id
  30. FormulaTypeName string `protobuf:"bytes,8,opt,name=formula_type_name,json=formulaTypeName,proto3" json:"formula_type_name,omitempty"` // 配方类型名称
  31. DataSourceId DataSource_Kind `protobuf:"varint,9,opt,name=data_source_id,json=dataSourceId,proto3,enum=backend.operation.DataSource_Kind" json:"data_source_id,omitempty"` // 数据来源
  32. DataSourceName string `protobuf:"bytes,10,opt,name=data_source_name,json=dataSourceName,proto3" json:"data_source_name,omitempty"` // 数据来源
  33. Remarks string `protobuf:"bytes,11,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  34. Version int32 `protobuf:"varint,12,opt,name=version,proto3" json:"version,omitempty"` // 版本号
  35. IsShow IsShow_Kind `protobuf:"varint,13,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  36. IsModify IsShow_Kind `protobuf:"varint,14,opt,name=is_modify,json=isModify,proto3,enum=backend.operation.IsShow_Kind" json:"is_modify,omitempty"` // 是否可修改
  37. CreatedAt int32 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  38. CreatedAtFormat string `protobuf:"bytes,16,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  39. PastureName string `protobuf:"bytes,17,opt,name=pasture_name,json=pastureName,proto3" json:"pasture_name,omitempty"` // 牧场名称
  40. }
  41. func (x *AddFeedFormulaRequest) Reset() {
  42. *x = AddFeedFormulaRequest{}
  43. if protoimpl.UnsafeEnabled {
  44. mi := &file_backend_operation_feed_formula_proto_msgTypes[0]
  45. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  46. ms.StoreMessageInfo(mi)
  47. }
  48. }
  49. func (x *AddFeedFormulaRequest) String() string {
  50. return protoimpl.X.MessageStringOf(x)
  51. }
  52. func (*AddFeedFormulaRequest) ProtoMessage() {}
  53. func (x *AddFeedFormulaRequest) ProtoReflect() protoreflect.Message {
  54. mi := &file_backend_operation_feed_formula_proto_msgTypes[0]
  55. if protoimpl.UnsafeEnabled && x != nil {
  56. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  57. if ms.LoadMessageInfo() == nil {
  58. ms.StoreMessageInfo(mi)
  59. }
  60. return ms
  61. }
  62. return mi.MessageOf(x)
  63. }
  64. // Deprecated: Use AddFeedFormulaRequest.ProtoReflect.Descriptor instead.
  65. func (*AddFeedFormulaRequest) Descriptor() ([]byte, []int) {
  66. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{0}
  67. }
  68. func (x *AddFeedFormulaRequest) GetId() int32 {
  69. if x != nil {
  70. return x.Id
  71. }
  72. return 0
  73. }
  74. func (x *AddFeedFormulaRequest) GetName() string {
  75. if x != nil {
  76. return x.Name
  77. }
  78. return ""
  79. }
  80. func (x *AddFeedFormulaRequest) GetEncodeNumber() string {
  81. if x != nil {
  82. return x.EncodeNumber
  83. }
  84. return ""
  85. }
  86. func (x *AddFeedFormulaRequest) GetColour() string {
  87. if x != nil {
  88. return x.Colour
  89. }
  90. return ""
  91. }
  92. func (x *AddFeedFormulaRequest) GetCattleCategoryId() CattleCategoryParent_Kind {
  93. if x != nil {
  94. return x.CattleCategoryId
  95. }
  96. return CattleCategoryParent_INVALID
  97. }
  98. func (x *AddFeedFormulaRequest) GetCattleCategoryName() string {
  99. if x != nil {
  100. return x.CattleCategoryName
  101. }
  102. return ""
  103. }
  104. func (x *AddFeedFormulaRequest) GetFormulaTypeId() int32 {
  105. if x != nil {
  106. return x.FormulaTypeId
  107. }
  108. return 0
  109. }
  110. func (x *AddFeedFormulaRequest) GetFormulaTypeName() string {
  111. if x != nil {
  112. return x.FormulaTypeName
  113. }
  114. return ""
  115. }
  116. func (x *AddFeedFormulaRequest) GetDataSourceId() DataSource_Kind {
  117. if x != nil {
  118. return x.DataSourceId
  119. }
  120. return DataSource_INVALID
  121. }
  122. func (x *AddFeedFormulaRequest) GetDataSourceName() string {
  123. if x != nil {
  124. return x.DataSourceName
  125. }
  126. return ""
  127. }
  128. func (x *AddFeedFormulaRequest) GetRemarks() string {
  129. if x != nil {
  130. return x.Remarks
  131. }
  132. return ""
  133. }
  134. func (x *AddFeedFormulaRequest) GetVersion() int32 {
  135. if x != nil {
  136. return x.Version
  137. }
  138. return 0
  139. }
  140. func (x *AddFeedFormulaRequest) GetIsShow() IsShow_Kind {
  141. if x != nil {
  142. return x.IsShow
  143. }
  144. return IsShow_INVALID
  145. }
  146. func (x *AddFeedFormulaRequest) GetIsModify() IsShow_Kind {
  147. if x != nil {
  148. return x.IsModify
  149. }
  150. return IsShow_INVALID
  151. }
  152. func (x *AddFeedFormulaRequest) GetCreatedAt() int32 {
  153. if x != nil {
  154. return x.CreatedAt
  155. }
  156. return 0
  157. }
  158. func (x *AddFeedFormulaRequest) GetCreatedAtFormat() string {
  159. if x != nil {
  160. return x.CreatedAtFormat
  161. }
  162. return ""
  163. }
  164. func (x *AddFeedFormulaRequest) GetPastureName() string {
  165. if x != nil {
  166. return x.PastureName
  167. }
  168. return ""
  169. }
  170. type SearchFeedFormulaRequest struct {
  171. state protoimpl.MessageState
  172. sizeCache protoimpl.SizeCache
  173. unknownFields protoimpl.UnknownFields
  174. CattleCategoryId int32 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"` // 分类id
  175. FormulaTypeId int32 `protobuf:"varint,2,opt,name=formula_type_id,json=formulaTypeId,proto3" json:"formula_type_id,omitempty"` // 配方类型id
  176. DataSource int32 `protobuf:"varint,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // 饲料来源
  177. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  178. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 配方名称
  179. Remarks string `protobuf:"bytes,6,opt,name=remarks,proto3" json:"remarks,omitempty"` // 备注
  180. Pagination *PaginationModel `protobuf:"bytes,7,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  181. }
  182. func (x *SearchFeedFormulaRequest) Reset() {
  183. *x = SearchFeedFormulaRequest{}
  184. if protoimpl.UnsafeEnabled {
  185. mi := &file_backend_operation_feed_formula_proto_msgTypes[1]
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. ms.StoreMessageInfo(mi)
  188. }
  189. }
  190. func (x *SearchFeedFormulaRequest) String() string {
  191. return protoimpl.X.MessageStringOf(x)
  192. }
  193. func (*SearchFeedFormulaRequest) ProtoMessage() {}
  194. func (x *SearchFeedFormulaRequest) ProtoReflect() protoreflect.Message {
  195. mi := &file_backend_operation_feed_formula_proto_msgTypes[1]
  196. if protoimpl.UnsafeEnabled && x != nil {
  197. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  198. if ms.LoadMessageInfo() == nil {
  199. ms.StoreMessageInfo(mi)
  200. }
  201. return ms
  202. }
  203. return mi.MessageOf(x)
  204. }
  205. // Deprecated: Use SearchFeedFormulaRequest.ProtoReflect.Descriptor instead.
  206. func (*SearchFeedFormulaRequest) Descriptor() ([]byte, []int) {
  207. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{1}
  208. }
  209. func (x *SearchFeedFormulaRequest) GetCattleCategoryId() int32 {
  210. if x != nil {
  211. return x.CattleCategoryId
  212. }
  213. return 0
  214. }
  215. func (x *SearchFeedFormulaRequest) GetFormulaTypeId() int32 {
  216. if x != nil {
  217. return x.FormulaTypeId
  218. }
  219. return 0
  220. }
  221. func (x *SearchFeedFormulaRequest) GetDataSource() int32 {
  222. if x != nil {
  223. return x.DataSource
  224. }
  225. return 0
  226. }
  227. func (x *SearchFeedFormulaRequest) GetIsShow() IsShow_Kind {
  228. if x != nil {
  229. return x.IsShow
  230. }
  231. return IsShow_INVALID
  232. }
  233. func (x *SearchFeedFormulaRequest) GetName() string {
  234. if x != nil {
  235. return x.Name
  236. }
  237. return ""
  238. }
  239. func (x *SearchFeedFormulaRequest) GetRemarks() string {
  240. if x != nil {
  241. return x.Remarks
  242. }
  243. return ""
  244. }
  245. func (x *SearchFeedFormulaRequest) GetPagination() *PaginationModel {
  246. if x != nil {
  247. return x.Pagination
  248. }
  249. return nil
  250. }
  251. type SearchFeedFormulaListResponse struct {
  252. state protoimpl.MessageState
  253. sizeCache protoimpl.SizeCache
  254. unknownFields protoimpl.UnknownFields
  255. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  256. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  257. Data *SearchFeedFormulaListData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  258. }
  259. func (x *SearchFeedFormulaListResponse) Reset() {
  260. *x = SearchFeedFormulaListResponse{}
  261. if protoimpl.UnsafeEnabled {
  262. mi := &file_backend_operation_feed_formula_proto_msgTypes[2]
  263. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  264. ms.StoreMessageInfo(mi)
  265. }
  266. }
  267. func (x *SearchFeedFormulaListResponse) String() string {
  268. return protoimpl.X.MessageStringOf(x)
  269. }
  270. func (*SearchFeedFormulaListResponse) ProtoMessage() {}
  271. func (x *SearchFeedFormulaListResponse) ProtoReflect() protoreflect.Message {
  272. mi := &file_backend_operation_feed_formula_proto_msgTypes[2]
  273. if protoimpl.UnsafeEnabled && x != nil {
  274. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  275. if ms.LoadMessageInfo() == nil {
  276. ms.StoreMessageInfo(mi)
  277. }
  278. return ms
  279. }
  280. return mi.MessageOf(x)
  281. }
  282. // Deprecated: Use SearchFeedFormulaListResponse.ProtoReflect.Descriptor instead.
  283. func (*SearchFeedFormulaListResponse) Descriptor() ([]byte, []int) {
  284. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{2}
  285. }
  286. func (x *SearchFeedFormulaListResponse) GetCode() int32 {
  287. if x != nil {
  288. return x.Code
  289. }
  290. return 0
  291. }
  292. func (x *SearchFeedFormulaListResponse) GetMsg() string {
  293. if x != nil {
  294. return x.Msg
  295. }
  296. return ""
  297. }
  298. func (x *SearchFeedFormulaListResponse) GetData() *SearchFeedFormulaListData {
  299. if x != nil {
  300. return x.Data
  301. }
  302. return nil
  303. }
  304. type SearchFeedFormulaListData struct {
  305. state protoimpl.MessageState
  306. sizeCache protoimpl.SizeCache
  307. unknownFields protoimpl.UnknownFields
  308. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  309. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  310. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
  311. List []*AddFeedFormulaRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  312. }
  313. func (x *SearchFeedFormulaListData) Reset() {
  314. *x = SearchFeedFormulaListData{}
  315. if protoimpl.UnsafeEnabled {
  316. mi := &file_backend_operation_feed_formula_proto_msgTypes[3]
  317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  318. ms.StoreMessageInfo(mi)
  319. }
  320. }
  321. func (x *SearchFeedFormulaListData) String() string {
  322. return protoimpl.X.MessageStringOf(x)
  323. }
  324. func (*SearchFeedFormulaListData) ProtoMessage() {}
  325. func (x *SearchFeedFormulaListData) ProtoReflect() protoreflect.Message {
  326. mi := &file_backend_operation_feed_formula_proto_msgTypes[3]
  327. if protoimpl.UnsafeEnabled && x != nil {
  328. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  329. if ms.LoadMessageInfo() == nil {
  330. ms.StoreMessageInfo(mi)
  331. }
  332. return ms
  333. }
  334. return mi.MessageOf(x)
  335. }
  336. // Deprecated: Use SearchFeedFormulaListData.ProtoReflect.Descriptor instead.
  337. func (*SearchFeedFormulaListData) Descriptor() ([]byte, []int) {
  338. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{3}
  339. }
  340. func (x *SearchFeedFormulaListData) GetPage() int32 {
  341. if x != nil {
  342. return x.Page
  343. }
  344. return 0
  345. }
  346. func (x *SearchFeedFormulaListData) GetPageSize() int32 {
  347. if x != nil {
  348. return x.PageSize
  349. }
  350. return 0
  351. }
  352. func (x *SearchFeedFormulaListData) GetTotal() int32 {
  353. if x != nil {
  354. return x.Total
  355. }
  356. return 0
  357. }
  358. func (x *SearchFeedFormulaListData) GetList() []*AddFeedFormulaRequest {
  359. if x != nil {
  360. return x.List
  361. }
  362. return nil
  363. }
  364. // 是否启用
  365. type IsShowModifyFeedFormula struct {
  366. state protoimpl.MessageState
  367. sizeCache protoimpl.SizeCache
  368. unknownFields protoimpl.UnknownFields
  369. FeedFormulaId int32 `protobuf:"varint,1,opt,name=feed_formula_id,json=feedFormulaId,proto3" json:"feed_formula_id,omitempty"`
  370. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  371. EditType int32 `protobuf:"varint,3,opt,name=edit_type,json=editType,proto3" json:"edit_type,omitempty"` // 1 更新是否启用 2 更新 modify
  372. }
  373. func (x *IsShowModifyFeedFormula) Reset() {
  374. *x = IsShowModifyFeedFormula{}
  375. if protoimpl.UnsafeEnabled {
  376. mi := &file_backend_operation_feed_formula_proto_msgTypes[4]
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. ms.StoreMessageInfo(mi)
  379. }
  380. }
  381. func (x *IsShowModifyFeedFormula) String() string {
  382. return protoimpl.X.MessageStringOf(x)
  383. }
  384. func (*IsShowModifyFeedFormula) ProtoMessage() {}
  385. func (x *IsShowModifyFeedFormula) ProtoReflect() protoreflect.Message {
  386. mi := &file_backend_operation_feed_formula_proto_msgTypes[4]
  387. if protoimpl.UnsafeEnabled && x != nil {
  388. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  389. if ms.LoadMessageInfo() == nil {
  390. ms.StoreMessageInfo(mi)
  391. }
  392. return ms
  393. }
  394. return mi.MessageOf(x)
  395. }
  396. // Deprecated: Use IsShowModifyFeedFormula.ProtoReflect.Descriptor instead.
  397. func (*IsShowModifyFeedFormula) Descriptor() ([]byte, []int) {
  398. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{4}
  399. }
  400. func (x *IsShowModifyFeedFormula) GetFeedFormulaId() int32 {
  401. if x != nil {
  402. return x.FeedFormulaId
  403. }
  404. return 0
  405. }
  406. func (x *IsShowModifyFeedFormula) GetIsShow() IsShow_Kind {
  407. if x != nil {
  408. return x.IsShow
  409. }
  410. return IsShow_INVALID
  411. }
  412. func (x *IsShowModifyFeedFormula) GetEditType() int32 {
  413. if x != nil {
  414. return x.EditType
  415. }
  416. return 0
  417. }
  418. // 配方编码
  419. type UniqueID struct {
  420. state protoimpl.MessageState
  421. sizeCache protoimpl.SizeCache
  422. unknownFields protoimpl.UnknownFields
  423. Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  424. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  425. Data *UniqueID_UniqueData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  426. }
  427. func (x *UniqueID) Reset() {
  428. *x = UniqueID{}
  429. if protoimpl.UnsafeEnabled {
  430. mi := &file_backend_operation_feed_formula_proto_msgTypes[5]
  431. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  432. ms.StoreMessageInfo(mi)
  433. }
  434. }
  435. func (x *UniqueID) String() string {
  436. return protoimpl.X.MessageStringOf(x)
  437. }
  438. func (*UniqueID) ProtoMessage() {}
  439. func (x *UniqueID) ProtoReflect() protoreflect.Message {
  440. mi := &file_backend_operation_feed_formula_proto_msgTypes[5]
  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 UniqueID.ProtoReflect.Descriptor instead.
  451. func (*UniqueID) Descriptor() ([]byte, []int) {
  452. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{5}
  453. }
  454. func (x *UniqueID) GetCode() int32 {
  455. if x != nil {
  456. return x.Code
  457. }
  458. return 0
  459. }
  460. func (x *UniqueID) GetMsg() string {
  461. if x != nil {
  462. return x.Msg
  463. }
  464. return ""
  465. }
  466. func (x *UniqueID) GetData() *UniqueID_UniqueData {
  467. if x != nil {
  468. return x.Data
  469. }
  470. return nil
  471. }
  472. // DistributeFeedFormulaRequest 饲料配方下发
  473. type DistributeFeedFormulaRequest struct {
  474. state protoimpl.MessageState
  475. sizeCache protoimpl.SizeCache
  476. unknownFields protoimpl.UnknownFields
  477. PastureIds []int32 `protobuf:"varint,1,rep,packed,name=pasture_ids,json=pastureIds,proto3" json:"pasture_ids,omitempty"` // 牧场ids集合
  478. FeedFormulaIds []int32 `protobuf:"varint,2,rep,packed,name=feed_formula_ids,json=feedFormulaIds,proto3" json:"feed_formula_ids,omitempty"` // 配方ids集合
  479. }
  480. func (x *DistributeFeedFormulaRequest) Reset() {
  481. *x = DistributeFeedFormulaRequest{}
  482. if protoimpl.UnsafeEnabled {
  483. mi := &file_backend_operation_feed_formula_proto_msgTypes[6]
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. ms.StoreMessageInfo(mi)
  486. }
  487. }
  488. func (x *DistributeFeedFormulaRequest) String() string {
  489. return protoimpl.X.MessageStringOf(x)
  490. }
  491. func (*DistributeFeedFormulaRequest) ProtoMessage() {}
  492. func (x *DistributeFeedFormulaRequest) ProtoReflect() protoreflect.Message {
  493. mi := &file_backend_operation_feed_formula_proto_msgTypes[6]
  494. if protoimpl.UnsafeEnabled && x != nil {
  495. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  496. if ms.LoadMessageInfo() == nil {
  497. ms.StoreMessageInfo(mi)
  498. }
  499. return ms
  500. }
  501. return mi.MessageOf(x)
  502. }
  503. // Deprecated: Use DistributeFeedFormulaRequest.ProtoReflect.Descriptor instead.
  504. func (*DistributeFeedFormulaRequest) Descriptor() ([]byte, []int) {
  505. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{6}
  506. }
  507. func (x *DistributeFeedFormulaRequest) GetPastureIds() []int32 {
  508. if x != nil {
  509. return x.PastureIds
  510. }
  511. return nil
  512. }
  513. func (x *DistributeFeedFormulaRequest) GetFeedFormulaIds() []int32 {
  514. if x != nil {
  515. return x.FeedFormulaIds
  516. }
  517. return nil
  518. }
  519. type UniqueID_UniqueData struct {
  520. state protoimpl.MessageState
  521. sizeCache protoimpl.SizeCache
  522. unknownFields protoimpl.UnknownFields
  523. EncodeNumber string `protobuf:"bytes,1,opt,name=encode_number,json=encodeNumber,proto3" json:"encode_number,omitempty"`
  524. }
  525. func (x *UniqueID_UniqueData) Reset() {
  526. *x = UniqueID_UniqueData{}
  527. if protoimpl.UnsafeEnabled {
  528. mi := &file_backend_operation_feed_formula_proto_msgTypes[7]
  529. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  530. ms.StoreMessageInfo(mi)
  531. }
  532. }
  533. func (x *UniqueID_UniqueData) String() string {
  534. return protoimpl.X.MessageStringOf(x)
  535. }
  536. func (*UniqueID_UniqueData) ProtoMessage() {}
  537. func (x *UniqueID_UniqueData) ProtoReflect() protoreflect.Message {
  538. mi := &file_backend_operation_feed_formula_proto_msgTypes[7]
  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 UniqueID_UniqueData.ProtoReflect.Descriptor instead.
  549. func (*UniqueID_UniqueData) Descriptor() ([]byte, []int) {
  550. return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{5, 0}
  551. }
  552. func (x *UniqueID_UniqueData) GetEncodeNumber() string {
  553. if x != nil {
  554. return x.EncodeNumber
  555. }
  556. return ""
  557. }
  558. var File_backend_operation_feed_formula_proto protoreflect.FileDescriptor
  559. var file_backend_operation_feed_formula_proto_rawDesc = []byte{
  560. 0x0a, 0x24, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  561. 0x69, 0x6f, 0x6e, 0x2f, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61,
  562. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  563. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65,
  564. 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67,
  565. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x62,
  566. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  567. 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x05, 0x0a, 0x15,
  568. 0x41, 0x64, 0x64, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65,
  569. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  570. 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
  571. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x63,
  572. 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  573. 0x52, 0x0c, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16,
  574. 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x75, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  575. 0x63, 0x6f, 0x6c, 0x6f, 0x75, 0x72, 0x12, 0x5a, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65,
  576. 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
  577. 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  578. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74,
  579. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64,
  580. 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  581. 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74,
  582. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  583. 0x52, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  584. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f,
  585. 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66,
  586. 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11,
  587. 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  588. 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61,
  589. 0x54, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0e, 0x64, 0x61, 0x74, 0x61,
  590. 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e,
  591. 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  592. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
  593. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  594. 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
  595. 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x61,
  596. 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
  597. 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72,
  598. 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  599. 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  600. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x0d, 0x20, 0x01, 0x28,
  601. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  602. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  603. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x3b, 0x0a, 0x09, 0x69, 0x73, 0x5f,
  604. 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62,
  605. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  606. 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x08, 0x69, 0x73,
  607. 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  608. 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
  609. 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  610. 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
  611. 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61,
  612. 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
  613. 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65,
  614. 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xbc, 0x02, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46,
  615. 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  616. 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65,
  617. 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x63,
  618. 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12,
  619. 0x26, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f,
  620. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c,
  621. 0x61, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f,
  622. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x61,
  623. 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73,
  624. 0x68, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  625. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73,
  626. 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f,
  627. 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
  628. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73,
  629. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12,
  630. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20,
  631. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  632. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  633. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  634. 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x1d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x65,
  635. 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  636. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  637. 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
  638. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x40, 0x0a, 0x04, 0x64,
  639. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  640. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65,
  641. 0x61, 0x72, 0x63, 0x68, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x4c,
  642. 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa0, 0x01,
  643. 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d,
  644. 0x75, 0x6c, 0x61, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70,
  645. 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12,
  646. 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
  647. 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05,
  648. 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74,
  649. 0x61, 0x6c, 0x12, 0x3c, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
  650. 0x32, 0x28, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  651. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d,
  652. 0x75, 0x6c, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
  653. 0x22, 0x97, 0x01, 0x0a, 0x17, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x4d, 0x6f, 0x64, 0x69, 0x66,
  654. 0x79, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x12, 0x26, 0x0a, 0x0f,
  655. 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x69, 0x64, 0x18,
  656. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x75,
  657. 0x6c, 0x61, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  658. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  659. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  660. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a,
  661. 0x09, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
  662. 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x08, 0x55,
  663. 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
  664. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d,
  665. 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a,
  666. 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61,
  667. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  668. 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x44, 0x2e, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x44,
  669. 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x31, 0x0a, 0x0a, 0x55, 0x6e, 0x69,
  670. 0x71, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f, 0x64,
  671. 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  672. 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x69, 0x0a, 0x1c,
  673. 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x46, 0x65, 0x65, 0x64, 0x46, 0x6f,
  674. 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
  675. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  676. 0x05, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a,
  677. 0x10, 0x66, 0x65, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x75, 0x6c, 0x61, 0x5f, 0x69, 0x64,
  678. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0e, 0x66, 0x65, 0x65, 0x64, 0x46, 0x6f, 0x72,
  679. 0x6d, 0x75, 0x6c, 0x61, 0x49, 0x64, 0x73, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65,
  680. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  681. }
  682. var (
  683. file_backend_operation_feed_formula_proto_rawDescOnce sync.Once
  684. file_backend_operation_feed_formula_proto_rawDescData = file_backend_operation_feed_formula_proto_rawDesc
  685. )
  686. func file_backend_operation_feed_formula_proto_rawDescGZIP() []byte {
  687. file_backend_operation_feed_formula_proto_rawDescOnce.Do(func() {
  688. file_backend_operation_feed_formula_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_feed_formula_proto_rawDescData)
  689. })
  690. return file_backend_operation_feed_formula_proto_rawDescData
  691. }
  692. var file_backend_operation_feed_formula_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  693. var file_backend_operation_feed_formula_proto_goTypes = []interface{}{
  694. (*AddFeedFormulaRequest)(nil), // 0: backend.operation.AddFeedFormulaRequest
  695. (*SearchFeedFormulaRequest)(nil), // 1: backend.operation.SearchFeedFormulaRequest
  696. (*SearchFeedFormulaListResponse)(nil), // 2: backend.operation.SearchFeedFormulaListResponse
  697. (*SearchFeedFormulaListData)(nil), // 3: backend.operation.SearchFeedFormulaListData
  698. (*IsShowModifyFeedFormula)(nil), // 4: backend.operation.IsShowModifyFeedFormula
  699. (*UniqueID)(nil), // 5: backend.operation.UniqueID
  700. (*DistributeFeedFormulaRequest)(nil), // 6: backend.operation.DistributeFeedFormulaRequest
  701. (*UniqueID_UniqueData)(nil), // 7: backend.operation.UniqueID.UniqueData
  702. (CattleCategoryParent_Kind)(0), // 8: backend.operation.CattleCategoryParent.Kind
  703. (DataSource_Kind)(0), // 9: backend.operation.DataSource.Kind
  704. (IsShow_Kind)(0), // 10: backend.operation.IsShow.Kind
  705. (*PaginationModel)(nil), // 11: backend.operation.PaginationModel
  706. }
  707. var file_backend_operation_feed_formula_proto_depIdxs = []int32{
  708. 8, // 0: backend.operation.AddFeedFormulaRequest.cattle_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
  709. 9, // 1: backend.operation.AddFeedFormulaRequest.data_source_id:type_name -> backend.operation.DataSource.Kind
  710. 10, // 2: backend.operation.AddFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
  711. 10, // 3: backend.operation.AddFeedFormulaRequest.is_modify:type_name -> backend.operation.IsShow.Kind
  712. 10, // 4: backend.operation.SearchFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
  713. 11, // 5: backend.operation.SearchFeedFormulaRequest.pagination:type_name -> backend.operation.PaginationModel
  714. 3, // 6: backend.operation.SearchFeedFormulaListResponse.data:type_name -> backend.operation.SearchFeedFormulaListData
  715. 0, // 7: backend.operation.SearchFeedFormulaListData.list:type_name -> backend.operation.AddFeedFormulaRequest
  716. 10, // 8: backend.operation.IsShowModifyFeedFormula.is_show:type_name -> backend.operation.IsShow.Kind
  717. 7, // 9: backend.operation.UniqueID.data:type_name -> backend.operation.UniqueID.UniqueData
  718. 10, // [10:10] is the sub-list for method output_type
  719. 10, // [10:10] is the sub-list for method input_type
  720. 10, // [10:10] is the sub-list for extension type_name
  721. 10, // [10:10] is the sub-list for extension extendee
  722. 0, // [0:10] is the sub-list for field type_name
  723. }
  724. func init() { file_backend_operation_feed_formula_proto_init() }
  725. func file_backend_operation_feed_formula_proto_init() {
  726. if File_backend_operation_feed_formula_proto != nil {
  727. return
  728. }
  729. file_backend_operation_pagination_proto_init()
  730. file_backend_operation_enum_proto_init()
  731. if !protoimpl.UnsafeEnabled {
  732. file_backend_operation_feed_formula_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  733. switch v := v.(*AddFeedFormulaRequest); i {
  734. case 0:
  735. return &v.state
  736. case 1:
  737. return &v.sizeCache
  738. case 2:
  739. return &v.unknownFields
  740. default:
  741. return nil
  742. }
  743. }
  744. file_backend_operation_feed_formula_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  745. switch v := v.(*SearchFeedFormulaRequest); i {
  746. case 0:
  747. return &v.state
  748. case 1:
  749. return &v.sizeCache
  750. case 2:
  751. return &v.unknownFields
  752. default:
  753. return nil
  754. }
  755. }
  756. file_backend_operation_feed_formula_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  757. switch v := v.(*SearchFeedFormulaListResponse); i {
  758. case 0:
  759. return &v.state
  760. case 1:
  761. return &v.sizeCache
  762. case 2:
  763. return &v.unknownFields
  764. default:
  765. return nil
  766. }
  767. }
  768. file_backend_operation_feed_formula_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  769. switch v := v.(*SearchFeedFormulaListData); i {
  770. case 0:
  771. return &v.state
  772. case 1:
  773. return &v.sizeCache
  774. case 2:
  775. return &v.unknownFields
  776. default:
  777. return nil
  778. }
  779. }
  780. file_backend_operation_feed_formula_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  781. switch v := v.(*IsShowModifyFeedFormula); i {
  782. case 0:
  783. return &v.state
  784. case 1:
  785. return &v.sizeCache
  786. case 2:
  787. return &v.unknownFields
  788. default:
  789. return nil
  790. }
  791. }
  792. file_backend_operation_feed_formula_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  793. switch v := v.(*UniqueID); i {
  794. case 0:
  795. return &v.state
  796. case 1:
  797. return &v.sizeCache
  798. case 2:
  799. return &v.unknownFields
  800. default:
  801. return nil
  802. }
  803. }
  804. file_backend_operation_feed_formula_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  805. switch v := v.(*DistributeFeedFormulaRequest); i {
  806. case 0:
  807. return &v.state
  808. case 1:
  809. return &v.sizeCache
  810. case 2:
  811. return &v.unknownFields
  812. default:
  813. return nil
  814. }
  815. }
  816. file_backend_operation_feed_formula_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  817. switch v := v.(*UniqueID_UniqueData); i {
  818. case 0:
  819. return &v.state
  820. case 1:
  821. return &v.sizeCache
  822. case 2:
  823. return &v.unknownFields
  824. default:
  825. return nil
  826. }
  827. }
  828. }
  829. type x struct{}
  830. out := protoimpl.TypeBuilder{
  831. File: protoimpl.DescBuilder{
  832. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  833. RawDescriptor: file_backend_operation_feed_formula_proto_rawDesc,
  834. NumEnums: 0,
  835. NumMessages: 8,
  836. NumExtensions: 0,
  837. NumServices: 0,
  838. },
  839. GoTypes: file_backend_operation_feed_formula_proto_goTypes,
  840. DependencyIndexes: file_backend_operation_feed_formula_proto_depIdxs,
  841. MessageInfos: file_backend_operation_feed_formula_proto_msgTypes,
  842. }.Build()
  843. File_backend_operation_feed_formula_proto = out.File
  844. file_backend_operation_feed_formula_proto_rawDesc = nil
  845. file_backend_operation_feed_formula_proto_goTypes = nil
  846. file_backend_operation_feed_formula_proto_depIdxs = nil
  847. }