pasture.pb.go 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015
  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/pasture.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 AddPastureRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  24. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
  25. Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // 登录账号名称
  26. ManagerUser string `protobuf:"bytes,4,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
  27. ManagerPhone string `protobuf:"bytes,5,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
  28. Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` // 牧场地址
  29. IsShow IsShow_Kind `protobuf:"varint,7,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  30. CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  31. CreatedAtFormat string `protobuf:"bytes,9,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  32. }
  33. func (x *AddPastureRequest) Reset() {
  34. *x = AddPastureRequest{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_backend_operation_pasture_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *AddPastureRequest) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*AddPastureRequest) ProtoMessage() {}
  45. func (x *AddPastureRequest) ProtoReflect() protoreflect.Message {
  46. mi := &file_backend_operation_pasture_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use AddPastureRequest.ProtoReflect.Descriptor instead.
  57. func (*AddPastureRequest) Descriptor() ([]byte, []int) {
  58. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *AddPastureRequest) GetId() int64 {
  61. if x != nil {
  62. return x.Id
  63. }
  64. return 0
  65. }
  66. func (x *AddPastureRequest) GetName() string {
  67. if x != nil {
  68. return x.Name
  69. }
  70. return ""
  71. }
  72. func (x *AddPastureRequest) GetAccount() string {
  73. if x != nil {
  74. return x.Account
  75. }
  76. return ""
  77. }
  78. func (x *AddPastureRequest) GetManagerUser() string {
  79. if x != nil {
  80. return x.ManagerUser
  81. }
  82. return ""
  83. }
  84. func (x *AddPastureRequest) GetManagerPhone() string {
  85. if x != nil {
  86. return x.ManagerPhone
  87. }
  88. return ""
  89. }
  90. func (x *AddPastureRequest) GetAddress() string {
  91. if x != nil {
  92. return x.Address
  93. }
  94. return ""
  95. }
  96. func (x *AddPastureRequest) GetIsShow() IsShow_Kind {
  97. if x != nil {
  98. return x.IsShow
  99. }
  100. return IsShow_INVALID
  101. }
  102. func (x *AddPastureRequest) GetCreatedAt() int64 {
  103. if x != nil {
  104. return x.CreatedAt
  105. }
  106. return 0
  107. }
  108. func (x *AddPastureRequest) GetCreatedAtFormat() string {
  109. if x != nil {
  110. return x.CreatedAtFormat
  111. }
  112. return ""
  113. }
  114. type SearchPastureRequest struct {
  115. state protoimpl.MessageState
  116. sizeCache protoimpl.SizeCache
  117. unknownFields protoimpl.UnknownFields
  118. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 牧场名称
  119. ManagerUser string `protobuf:"bytes,2,opt,name=manager_user,json=managerUser,proto3" json:"manager_user,omitempty"` // 牧场负责人名称
  120. ManagerPhone string `protobuf:"bytes,3,opt,name=manager_phone,json=managerPhone,proto3" json:"manager_phone,omitempty"` // 牧场负责人手机号
  121. StartTime int64 `protobuf:"varint,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // 开始时间
  122. EndTime int64 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // 结束时间
  123. Pagination *PaginationModel `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  124. }
  125. func (x *SearchPastureRequest) Reset() {
  126. *x = SearchPastureRequest{}
  127. if protoimpl.UnsafeEnabled {
  128. mi := &file_backend_operation_pasture_proto_msgTypes[1]
  129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  130. ms.StoreMessageInfo(mi)
  131. }
  132. }
  133. func (x *SearchPastureRequest) String() string {
  134. return protoimpl.X.MessageStringOf(x)
  135. }
  136. func (*SearchPastureRequest) ProtoMessage() {}
  137. func (x *SearchPastureRequest) ProtoReflect() protoreflect.Message {
  138. mi := &file_backend_operation_pasture_proto_msgTypes[1]
  139. if protoimpl.UnsafeEnabled && x != nil {
  140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  141. if ms.LoadMessageInfo() == nil {
  142. ms.StoreMessageInfo(mi)
  143. }
  144. return ms
  145. }
  146. return mi.MessageOf(x)
  147. }
  148. // Deprecated: Use SearchPastureRequest.ProtoReflect.Descriptor instead.
  149. func (*SearchPastureRequest) Descriptor() ([]byte, []int) {
  150. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{1}
  151. }
  152. func (x *SearchPastureRequest) GetName() string {
  153. if x != nil {
  154. return x.Name
  155. }
  156. return ""
  157. }
  158. func (x *SearchPastureRequest) GetManagerUser() string {
  159. if x != nil {
  160. return x.ManagerUser
  161. }
  162. return ""
  163. }
  164. func (x *SearchPastureRequest) GetManagerPhone() string {
  165. if x != nil {
  166. return x.ManagerPhone
  167. }
  168. return ""
  169. }
  170. func (x *SearchPastureRequest) GetStartTime() int64 {
  171. if x != nil {
  172. return x.StartTime
  173. }
  174. return 0
  175. }
  176. func (x *SearchPastureRequest) GetEndTime() int64 {
  177. if x != nil {
  178. return x.EndTime
  179. }
  180. return 0
  181. }
  182. func (x *SearchPastureRequest) GetPagination() *PaginationModel {
  183. if x != nil {
  184. return x.Pagination
  185. }
  186. return nil
  187. }
  188. type SearchPastureResponse struct {
  189. state protoimpl.MessageState
  190. sizeCache protoimpl.SizeCache
  191. unknownFields protoimpl.UnknownFields
  192. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  193. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  194. List []*AddPastureRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  195. }
  196. func (x *SearchPastureResponse) Reset() {
  197. *x = SearchPastureResponse{}
  198. if protoimpl.UnsafeEnabled {
  199. mi := &file_backend_operation_pasture_proto_msgTypes[2]
  200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  201. ms.StoreMessageInfo(mi)
  202. }
  203. }
  204. func (x *SearchPastureResponse) String() string {
  205. return protoimpl.X.MessageStringOf(x)
  206. }
  207. func (*SearchPastureResponse) ProtoMessage() {}
  208. func (x *SearchPastureResponse) ProtoReflect() protoreflect.Message {
  209. mi := &file_backend_operation_pasture_proto_msgTypes[2]
  210. if protoimpl.UnsafeEnabled && x != nil {
  211. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  212. if ms.LoadMessageInfo() == nil {
  213. ms.StoreMessageInfo(mi)
  214. }
  215. return ms
  216. }
  217. return mi.MessageOf(x)
  218. }
  219. // Deprecated: Use SearchPastureResponse.ProtoReflect.Descriptor instead.
  220. func (*SearchPastureResponse) Descriptor() ([]byte, []int) {
  221. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{2}
  222. }
  223. func (x *SearchPastureResponse) GetPage() int32 {
  224. if x != nil {
  225. return x.Page
  226. }
  227. return 0
  228. }
  229. func (x *SearchPastureResponse) GetTotal() int32 {
  230. if x != nil {
  231. return x.Total
  232. }
  233. return 0
  234. }
  235. func (x *SearchPastureResponse) GetList() []*AddPastureRequest {
  236. if x != nil {
  237. return x.List
  238. }
  239. return nil
  240. }
  241. // 重置牧场登录密码
  242. type RestPasswordGroupPasture struct {
  243. state protoimpl.MessageState
  244. sizeCache protoimpl.SizeCache
  245. unknownFields protoimpl.UnknownFields
  246. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  247. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码(md5加密过的)
  248. }
  249. func (x *RestPasswordGroupPasture) Reset() {
  250. *x = RestPasswordGroupPasture{}
  251. if protoimpl.UnsafeEnabled {
  252. mi := &file_backend_operation_pasture_proto_msgTypes[3]
  253. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  254. ms.StoreMessageInfo(mi)
  255. }
  256. }
  257. func (x *RestPasswordGroupPasture) String() string {
  258. return protoimpl.X.MessageStringOf(x)
  259. }
  260. func (*RestPasswordGroupPasture) ProtoMessage() {}
  261. func (x *RestPasswordGroupPasture) ProtoReflect() protoreflect.Message {
  262. mi := &file_backend_operation_pasture_proto_msgTypes[3]
  263. if protoimpl.UnsafeEnabled && x != nil {
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. if ms.LoadMessageInfo() == nil {
  266. ms.StoreMessageInfo(mi)
  267. }
  268. return ms
  269. }
  270. return mi.MessageOf(x)
  271. }
  272. // Deprecated: Use RestPasswordGroupPasture.ProtoReflect.Descriptor instead.
  273. func (*RestPasswordGroupPasture) Descriptor() ([]byte, []int) {
  274. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{3}
  275. }
  276. func (x *RestPasswordGroupPasture) GetPastureId() int64 {
  277. if x != nil {
  278. return x.PastureId
  279. }
  280. return 0
  281. }
  282. func (x *RestPasswordGroupPasture) GetPassword() string {
  283. if x != nil {
  284. return x.Password
  285. }
  286. return ""
  287. }
  288. type IsShowGroupPasture struct {
  289. state protoimpl.MessageState
  290. sizeCache protoimpl.SizeCache
  291. unknownFields protoimpl.UnknownFields
  292. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  293. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  294. }
  295. func (x *IsShowGroupPasture) Reset() {
  296. *x = IsShowGroupPasture{}
  297. if protoimpl.UnsafeEnabled {
  298. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  300. ms.StoreMessageInfo(mi)
  301. }
  302. }
  303. func (x *IsShowGroupPasture) String() string {
  304. return protoimpl.X.MessageStringOf(x)
  305. }
  306. func (*IsShowGroupPasture) ProtoMessage() {}
  307. func (x *IsShowGroupPasture) ProtoReflect() protoreflect.Message {
  308. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  309. if protoimpl.UnsafeEnabled && x != nil {
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. if ms.LoadMessageInfo() == nil {
  312. ms.StoreMessageInfo(mi)
  313. }
  314. return ms
  315. }
  316. return mi.MessageOf(x)
  317. }
  318. // Deprecated: Use IsShowGroupPasture.ProtoReflect.Descriptor instead.
  319. func (*IsShowGroupPasture) Descriptor() ([]byte, []int) {
  320. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{4}
  321. }
  322. func (x *IsShowGroupPasture) GetPastureId() int64 {
  323. if x != nil {
  324. return x.PastureId
  325. }
  326. return 0
  327. }
  328. func (x *IsShowGroupPasture) GetIsShow() IsShow_Kind {
  329. if x != nil {
  330. return x.IsShow
  331. }
  332. return IsShow_INVALID
  333. }
  334. // 添加牧畜分类
  335. type AddCattleCategoryRequest struct {
  336. state protoimpl.MessageState
  337. sizeCache protoimpl.SizeCache
  338. unknownFields protoimpl.UnknownFields
  339. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  340. ParentId CattleCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
  341. ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
  342. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
  343. Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
  344. IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  345. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  346. CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
  347. }
  348. func (x *AddCattleCategoryRequest) Reset() {
  349. *x = AddCattleCategoryRequest{}
  350. if protoimpl.UnsafeEnabled {
  351. mi := &file_backend_operation_pasture_proto_msgTypes[5]
  352. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  353. ms.StoreMessageInfo(mi)
  354. }
  355. }
  356. func (x *AddCattleCategoryRequest) String() string {
  357. return protoimpl.X.MessageStringOf(x)
  358. }
  359. func (*AddCattleCategoryRequest) ProtoMessage() {}
  360. func (x *AddCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  361. mi := &file_backend_operation_pasture_proto_msgTypes[5]
  362. if protoimpl.UnsafeEnabled && x != nil {
  363. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  364. if ms.LoadMessageInfo() == nil {
  365. ms.StoreMessageInfo(mi)
  366. }
  367. return ms
  368. }
  369. return mi.MessageOf(x)
  370. }
  371. // Deprecated: Use AddCattleCategoryRequest.ProtoReflect.Descriptor instead.
  372. func (*AddCattleCategoryRequest) Descriptor() ([]byte, []int) {
  373. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{5}
  374. }
  375. func (x *AddCattleCategoryRequest) GetId() int64 {
  376. if x != nil {
  377. return x.Id
  378. }
  379. return 0
  380. }
  381. func (x *AddCattleCategoryRequest) GetParentId() CattleCategoryParent_Kind {
  382. if x != nil {
  383. return x.ParentId
  384. }
  385. return CattleCategoryParent_INVALID
  386. }
  387. func (x *AddCattleCategoryRequest) GetParentName() string {
  388. if x != nil {
  389. return x.ParentName
  390. }
  391. return ""
  392. }
  393. func (x *AddCattleCategoryRequest) GetName() string {
  394. if x != nil {
  395. return x.Name
  396. }
  397. return ""
  398. }
  399. func (x *AddCattleCategoryRequest) GetNumber() string {
  400. if x != nil {
  401. return x.Number
  402. }
  403. return ""
  404. }
  405. func (x *AddCattleCategoryRequest) GetIsShow() IsShow_Kind {
  406. if x != nil {
  407. return x.IsShow
  408. }
  409. return IsShow_INVALID
  410. }
  411. func (x *AddCattleCategoryRequest) GetCreatedAt() int64 {
  412. if x != nil {
  413. return x.CreatedAt
  414. }
  415. return 0
  416. }
  417. func (x *AddCattleCategoryRequest) GetCreatedAtFormat() string {
  418. if x != nil {
  419. return x.CreatedAtFormat
  420. }
  421. return ""
  422. }
  423. // 是否启用
  424. type IsShowCattleCategory struct {
  425. state protoimpl.MessageState
  426. sizeCache protoimpl.SizeCache
  427. unknownFields protoimpl.UnknownFields
  428. CattleCategoryId int64 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"`
  429. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  430. }
  431. func (x *IsShowCattleCategory) Reset() {
  432. *x = IsShowCattleCategory{}
  433. if protoimpl.UnsafeEnabled {
  434. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. ms.StoreMessageInfo(mi)
  437. }
  438. }
  439. func (x *IsShowCattleCategory) String() string {
  440. return protoimpl.X.MessageStringOf(x)
  441. }
  442. func (*IsShowCattleCategory) ProtoMessage() {}
  443. func (x *IsShowCattleCategory) ProtoReflect() protoreflect.Message {
  444. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  445. if protoimpl.UnsafeEnabled && x != nil {
  446. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  447. if ms.LoadMessageInfo() == nil {
  448. ms.StoreMessageInfo(mi)
  449. }
  450. return ms
  451. }
  452. return mi.MessageOf(x)
  453. }
  454. // Deprecated: Use IsShowCattleCategory.ProtoReflect.Descriptor instead.
  455. func (*IsShowCattleCategory) Descriptor() ([]byte, []int) {
  456. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{6}
  457. }
  458. func (x *IsShowCattleCategory) GetCattleCategoryId() int64 {
  459. if x != nil {
  460. return x.CattleCategoryId
  461. }
  462. return 0
  463. }
  464. func (x *IsShowCattleCategory) GetIsShow() IsShow_Kind {
  465. if x != nil {
  466. return x.IsShow
  467. }
  468. return IsShow_INVALID
  469. }
  470. // 畜牧分类查询列表
  471. type SearchCattleCategoryRequest struct {
  472. state protoimpl.MessageState
  473. sizeCache protoimpl.SizeCache
  474. unknownFields protoimpl.UnknownFields
  475. ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
  476. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  477. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  478. Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  479. }
  480. func (x *SearchCattleCategoryRequest) Reset() {
  481. *x = SearchCattleCategoryRequest{}
  482. if protoimpl.UnsafeEnabled {
  483. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  484. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  485. ms.StoreMessageInfo(mi)
  486. }
  487. }
  488. func (x *SearchCattleCategoryRequest) String() string {
  489. return protoimpl.X.MessageStringOf(x)
  490. }
  491. func (*SearchCattleCategoryRequest) ProtoMessage() {}
  492. func (x *SearchCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  493. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  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 SearchCattleCategoryRequest.ProtoReflect.Descriptor instead.
  504. func (*SearchCattleCategoryRequest) Descriptor() ([]byte, []int) {
  505. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{7}
  506. }
  507. func (x *SearchCattleCategoryRequest) GetParentName() string {
  508. if x != nil {
  509. return x.ParentName
  510. }
  511. return ""
  512. }
  513. func (x *SearchCattleCategoryRequest) GetIsShow() IsShow_Kind {
  514. if x != nil {
  515. return x.IsShow
  516. }
  517. return IsShow_INVALID
  518. }
  519. func (x *SearchCattleCategoryRequest) GetName() string {
  520. if x != nil {
  521. return x.Name
  522. }
  523. return ""
  524. }
  525. func (x *SearchCattleCategoryRequest) GetPagination() *PaginationModel {
  526. if x != nil {
  527. return x.Pagination
  528. }
  529. return nil
  530. }
  531. type SearchCattleCategoryResponse struct {
  532. state protoimpl.MessageState
  533. sizeCache protoimpl.SizeCache
  534. unknownFields protoimpl.UnknownFields
  535. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  536. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  537. List []*AddCattleCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  538. }
  539. func (x *SearchCattleCategoryResponse) Reset() {
  540. *x = SearchCattleCategoryResponse{}
  541. if protoimpl.UnsafeEnabled {
  542. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  543. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  544. ms.StoreMessageInfo(mi)
  545. }
  546. }
  547. func (x *SearchCattleCategoryResponse) String() string {
  548. return protoimpl.X.MessageStringOf(x)
  549. }
  550. func (*SearchCattleCategoryResponse) ProtoMessage() {}
  551. func (x *SearchCattleCategoryResponse) ProtoReflect() protoreflect.Message {
  552. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  553. if protoimpl.UnsafeEnabled && x != nil {
  554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  555. if ms.LoadMessageInfo() == nil {
  556. ms.StoreMessageInfo(mi)
  557. }
  558. return ms
  559. }
  560. return mi.MessageOf(x)
  561. }
  562. // Deprecated: Use SearchCattleCategoryResponse.ProtoReflect.Descriptor instead.
  563. func (*SearchCattleCategoryResponse) Descriptor() ([]byte, []int) {
  564. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{8}
  565. }
  566. func (x *SearchCattleCategoryResponse) GetPage() int32 {
  567. if x != nil {
  568. return x.Page
  569. }
  570. return 0
  571. }
  572. func (x *SearchCattleCategoryResponse) GetTotal() int32 {
  573. if x != nil {
  574. return x.Total
  575. }
  576. return 0
  577. }
  578. func (x *SearchCattleCategoryResponse) GetList() []*AddCattleCategoryRequest {
  579. if x != nil {
  580. return x.List
  581. }
  582. return nil
  583. }
  584. // 添加饲料分类
  585. type AddForageCategoryRequest struct {
  586. state protoimpl.MessageState
  587. sizeCache protoimpl.SizeCache
  588. unknownFields protoimpl.UnknownFields
  589. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  590. ParentId ForageCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.ForageCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
  591. ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
  592. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
  593. Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
  594. IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  595. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  596. CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
  597. }
  598. func (x *AddForageCategoryRequest) Reset() {
  599. *x = AddForageCategoryRequest{}
  600. if protoimpl.UnsafeEnabled {
  601. mi := &file_backend_operation_pasture_proto_msgTypes[9]
  602. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  603. ms.StoreMessageInfo(mi)
  604. }
  605. }
  606. func (x *AddForageCategoryRequest) String() string {
  607. return protoimpl.X.MessageStringOf(x)
  608. }
  609. func (*AddForageCategoryRequest) ProtoMessage() {}
  610. func (x *AddForageCategoryRequest) ProtoReflect() protoreflect.Message {
  611. mi := &file_backend_operation_pasture_proto_msgTypes[9]
  612. if protoimpl.UnsafeEnabled && x != nil {
  613. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  614. if ms.LoadMessageInfo() == nil {
  615. ms.StoreMessageInfo(mi)
  616. }
  617. return ms
  618. }
  619. return mi.MessageOf(x)
  620. }
  621. // Deprecated: Use AddForageCategoryRequest.ProtoReflect.Descriptor instead.
  622. func (*AddForageCategoryRequest) Descriptor() ([]byte, []int) {
  623. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{9}
  624. }
  625. func (x *AddForageCategoryRequest) GetId() int64 {
  626. if x != nil {
  627. return x.Id
  628. }
  629. return 0
  630. }
  631. func (x *AddForageCategoryRequest) GetParentId() ForageCategoryParent_Kind {
  632. if x != nil {
  633. return x.ParentId
  634. }
  635. return ForageCategoryParent_INVALID
  636. }
  637. func (x *AddForageCategoryRequest) GetParentName() string {
  638. if x != nil {
  639. return x.ParentName
  640. }
  641. return ""
  642. }
  643. func (x *AddForageCategoryRequest) GetName() string {
  644. if x != nil {
  645. return x.Name
  646. }
  647. return ""
  648. }
  649. func (x *AddForageCategoryRequest) GetNumber() string {
  650. if x != nil {
  651. return x.Number
  652. }
  653. return ""
  654. }
  655. func (x *AddForageCategoryRequest) GetIsShow() IsShow_Kind {
  656. if x != nil {
  657. return x.IsShow
  658. }
  659. return IsShow_INVALID
  660. }
  661. func (x *AddForageCategoryRequest) GetCreatedAt() int64 {
  662. if x != nil {
  663. return x.CreatedAt
  664. }
  665. return 0
  666. }
  667. func (x *AddForageCategoryRequest) GetCreatedAtFormat() string {
  668. if x != nil {
  669. return x.CreatedAtFormat
  670. }
  671. return ""
  672. }
  673. // 是否启用
  674. type IsShowForageCategory struct {
  675. state protoimpl.MessageState
  676. sizeCache protoimpl.SizeCache
  677. unknownFields protoimpl.UnknownFields
  678. ForageCategoryId int64 `protobuf:"varint,1,opt,name=forage_category_id,json=forageCategoryId,proto3" json:"forage_category_id,omitempty"`
  679. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  680. }
  681. func (x *IsShowForageCategory) Reset() {
  682. *x = IsShowForageCategory{}
  683. if protoimpl.UnsafeEnabled {
  684. mi := &file_backend_operation_pasture_proto_msgTypes[10]
  685. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  686. ms.StoreMessageInfo(mi)
  687. }
  688. }
  689. func (x *IsShowForageCategory) String() string {
  690. return protoimpl.X.MessageStringOf(x)
  691. }
  692. func (*IsShowForageCategory) ProtoMessage() {}
  693. func (x *IsShowForageCategory) ProtoReflect() protoreflect.Message {
  694. mi := &file_backend_operation_pasture_proto_msgTypes[10]
  695. if protoimpl.UnsafeEnabled && x != nil {
  696. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  697. if ms.LoadMessageInfo() == nil {
  698. ms.StoreMessageInfo(mi)
  699. }
  700. return ms
  701. }
  702. return mi.MessageOf(x)
  703. }
  704. // Deprecated: Use IsShowForageCategory.ProtoReflect.Descriptor instead.
  705. func (*IsShowForageCategory) Descriptor() ([]byte, []int) {
  706. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{10}
  707. }
  708. func (x *IsShowForageCategory) GetForageCategoryId() int64 {
  709. if x != nil {
  710. return x.ForageCategoryId
  711. }
  712. return 0
  713. }
  714. func (x *IsShowForageCategory) GetIsShow() IsShow_Kind {
  715. if x != nil {
  716. return x.IsShow
  717. }
  718. return IsShow_INVALID
  719. }
  720. // 饲料分类查询列表
  721. type SearchForageCategoryRequest struct {
  722. state protoimpl.MessageState
  723. sizeCache protoimpl.SizeCache
  724. unknownFields protoimpl.UnknownFields
  725. ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
  726. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  727. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  728. Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  729. }
  730. func (x *SearchForageCategoryRequest) Reset() {
  731. *x = SearchForageCategoryRequest{}
  732. if protoimpl.UnsafeEnabled {
  733. mi := &file_backend_operation_pasture_proto_msgTypes[11]
  734. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  735. ms.StoreMessageInfo(mi)
  736. }
  737. }
  738. func (x *SearchForageCategoryRequest) String() string {
  739. return protoimpl.X.MessageStringOf(x)
  740. }
  741. func (*SearchForageCategoryRequest) ProtoMessage() {}
  742. func (x *SearchForageCategoryRequest) ProtoReflect() protoreflect.Message {
  743. mi := &file_backend_operation_pasture_proto_msgTypes[11]
  744. if protoimpl.UnsafeEnabled && x != nil {
  745. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  746. if ms.LoadMessageInfo() == nil {
  747. ms.StoreMessageInfo(mi)
  748. }
  749. return ms
  750. }
  751. return mi.MessageOf(x)
  752. }
  753. // Deprecated: Use SearchForageCategoryRequest.ProtoReflect.Descriptor instead.
  754. func (*SearchForageCategoryRequest) Descriptor() ([]byte, []int) {
  755. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{11}
  756. }
  757. func (x *SearchForageCategoryRequest) GetParentName() string {
  758. if x != nil {
  759. return x.ParentName
  760. }
  761. return ""
  762. }
  763. func (x *SearchForageCategoryRequest) GetIsShow() IsShow_Kind {
  764. if x != nil {
  765. return x.IsShow
  766. }
  767. return IsShow_INVALID
  768. }
  769. func (x *SearchForageCategoryRequest) GetName() string {
  770. if x != nil {
  771. return x.Name
  772. }
  773. return ""
  774. }
  775. func (x *SearchForageCategoryRequest) GetPagination() *PaginationModel {
  776. if x != nil {
  777. return x.Pagination
  778. }
  779. return nil
  780. }
  781. type SearchForageCategoryResponse struct {
  782. state protoimpl.MessageState
  783. sizeCache protoimpl.SizeCache
  784. unknownFields protoimpl.UnknownFields
  785. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  786. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  787. List []*AddForageCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  788. }
  789. func (x *SearchForageCategoryResponse) Reset() {
  790. *x = SearchForageCategoryResponse{}
  791. if protoimpl.UnsafeEnabled {
  792. mi := &file_backend_operation_pasture_proto_msgTypes[12]
  793. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  794. ms.StoreMessageInfo(mi)
  795. }
  796. }
  797. func (x *SearchForageCategoryResponse) String() string {
  798. return protoimpl.X.MessageStringOf(x)
  799. }
  800. func (*SearchForageCategoryResponse) ProtoMessage() {}
  801. func (x *SearchForageCategoryResponse) ProtoReflect() protoreflect.Message {
  802. mi := &file_backend_operation_pasture_proto_msgTypes[12]
  803. if protoimpl.UnsafeEnabled && x != nil {
  804. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  805. if ms.LoadMessageInfo() == nil {
  806. ms.StoreMessageInfo(mi)
  807. }
  808. return ms
  809. }
  810. return mi.MessageOf(x)
  811. }
  812. // Deprecated: Use SearchForageCategoryResponse.ProtoReflect.Descriptor instead.
  813. func (*SearchForageCategoryResponse) Descriptor() ([]byte, []int) {
  814. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{12}
  815. }
  816. func (x *SearchForageCategoryResponse) GetPage() int32 {
  817. if x != nil {
  818. return x.Page
  819. }
  820. return 0
  821. }
  822. func (x *SearchForageCategoryResponse) GetTotal() int32 {
  823. if x != nil {
  824. return x.Total
  825. }
  826. return 0
  827. }
  828. func (x *SearchForageCategoryResponse) GetList() []*AddForageCategoryRequest {
  829. if x != nil {
  830. return x.List
  831. }
  832. return nil
  833. }
  834. // 饲料列表
  835. type AddForageRequest struct {
  836. state protoimpl.MessageState
  837. sizeCache protoimpl.SizeCache
  838. unknownFields protoimpl.UnknownFields
  839. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  840. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 饲料名称
  841. CategoryId int64 `protobuf:"varint,3,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 饲料分类id
  842. CategoryName string `protobuf:"bytes,4,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"` // 饲料分类名称
  843. MaterialType int64 `protobuf:"varint,5,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"` // 物料类型
  844. UniqueEncode string `protobuf:"bytes,7,opt,name=unique_encode,json=uniqueEncode,proto3" json:"unique_encode,omitempty"` // 唯一编码
  845. ForageSourceId ForageSource_Kind `protobuf:"varint,8,opt,name=forage_source_id,json=forageSourceId,proto3,enum=backend.operation.ForageSource_Kind" json:"forage_source_id,omitempty"` // 饲料来源
  846. PlanTypeId ForagePlanType_Kind `protobuf:"varint,9,opt,name=plan_type_id,json=planTypeId,proto3,enum=backend.operation.ForagePlanType_Kind" json:"plan_type_id,omitempty"` // 计划类型
  847. SmallMaterialScale string `protobuf:"bytes,10,opt,name=small_material_scale,json=smallMaterialScale,proto3" json:"small_material_scale,omitempty"` // 小料称
  848. AllowError int64 `protobuf:"varint,11,opt,name=allow_error,json=allowError,proto3" json:"allow_error,omitempty"` // 允许误差 (单位kg)
  849. PackageWeight int64 `protobuf:"varint,12,opt,name=package_weight,json=packageWeight,proto3" json:"package_weight,omitempty"` // 包装重量 (单位kg)
  850. Price int64 `protobuf:"varint,13,opt,name=price,proto3" json:"price,omitempty"` // 单价(单位分)
  851. JumpWeight int64 `protobuf:"varint,14,opt,name=jump_weight,json=jumpWeight,proto3" json:"jump_weight,omitempty"` // 跳转重量域(单位kg)
  852. JumpDelay JumpDelaType_Kind `protobuf:"varint,15,opt,name=jump_delay,json=jumpDelay,proto3,enum=backend.operation.JumpDelaType_Kind" json:"jump_delay,omitempty"` // 跳转延迟
  853. ConfirmStart IsShow_Kind `protobuf:"varint,16,opt,name=confirm_start,json=confirmStart,proto3,enum=backend.operation.IsShow_Kind" json:"confirm_start,omitempty"` // 确认开始
  854. RelayLocations int64 `protobuf:"varint,17,opt,name=relay_locations,json=relayLocations,proto3" json:"relay_locations,omitempty"` // 继电器位置
  855. Jmp IsShow_Kind `protobuf:"varint,18,opt,name=jmp,proto3,enum=backend.operation.IsShow_Kind" json:"jmp,omitempty"` // 无上域
  856. Backup1 string `protobuf:"bytes,19,opt,name=backup1,proto3" json:"backup1,omitempty"` // 备用字段1
  857. Backup2 string `protobuf:"bytes,20,opt,name=backup2,proto3" json:"backup2,omitempty"` // 备用字段2
  858. Backup3 string `protobuf:"bytes,21,opt,name=backup3,proto3" json:"backup3,omitempty"` // 备用字段3
  859. CreatedAt int64 `protobuf:"varint,22,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  860. CreatedAtFormat string `protobuf:"bytes,23,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  861. IsShow IsShow_Kind `protobuf:"varint,24,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  862. }
  863. func (x *AddForageRequest) Reset() {
  864. *x = AddForageRequest{}
  865. if protoimpl.UnsafeEnabled {
  866. mi := &file_backend_operation_pasture_proto_msgTypes[13]
  867. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  868. ms.StoreMessageInfo(mi)
  869. }
  870. }
  871. func (x *AddForageRequest) String() string {
  872. return protoimpl.X.MessageStringOf(x)
  873. }
  874. func (*AddForageRequest) ProtoMessage() {}
  875. func (x *AddForageRequest) ProtoReflect() protoreflect.Message {
  876. mi := &file_backend_operation_pasture_proto_msgTypes[13]
  877. if protoimpl.UnsafeEnabled && x != nil {
  878. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  879. if ms.LoadMessageInfo() == nil {
  880. ms.StoreMessageInfo(mi)
  881. }
  882. return ms
  883. }
  884. return mi.MessageOf(x)
  885. }
  886. // Deprecated: Use AddForageRequest.ProtoReflect.Descriptor instead.
  887. func (*AddForageRequest) Descriptor() ([]byte, []int) {
  888. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{13}
  889. }
  890. func (x *AddForageRequest) GetId() int64 {
  891. if x != nil {
  892. return x.Id
  893. }
  894. return 0
  895. }
  896. func (x *AddForageRequest) GetName() string {
  897. if x != nil {
  898. return x.Name
  899. }
  900. return ""
  901. }
  902. func (x *AddForageRequest) GetCategoryId() int64 {
  903. if x != nil {
  904. return x.CategoryId
  905. }
  906. return 0
  907. }
  908. func (x *AddForageRequest) GetCategoryName() string {
  909. if x != nil {
  910. return x.CategoryName
  911. }
  912. return ""
  913. }
  914. func (x *AddForageRequest) GetMaterialType() int64 {
  915. if x != nil {
  916. return x.MaterialType
  917. }
  918. return 0
  919. }
  920. func (x *AddForageRequest) GetUniqueEncode() string {
  921. if x != nil {
  922. return x.UniqueEncode
  923. }
  924. return ""
  925. }
  926. func (x *AddForageRequest) GetForageSourceId() ForageSource_Kind {
  927. if x != nil {
  928. return x.ForageSourceId
  929. }
  930. return ForageSource_INVALID
  931. }
  932. func (x *AddForageRequest) GetPlanTypeId() ForagePlanType_Kind {
  933. if x != nil {
  934. return x.PlanTypeId
  935. }
  936. return ForagePlanType_INVALID
  937. }
  938. func (x *AddForageRequest) GetSmallMaterialScale() string {
  939. if x != nil {
  940. return x.SmallMaterialScale
  941. }
  942. return ""
  943. }
  944. func (x *AddForageRequest) GetAllowError() int64 {
  945. if x != nil {
  946. return x.AllowError
  947. }
  948. return 0
  949. }
  950. func (x *AddForageRequest) GetPackageWeight() int64 {
  951. if x != nil {
  952. return x.PackageWeight
  953. }
  954. return 0
  955. }
  956. func (x *AddForageRequest) GetPrice() int64 {
  957. if x != nil {
  958. return x.Price
  959. }
  960. return 0
  961. }
  962. func (x *AddForageRequest) GetJumpWeight() int64 {
  963. if x != nil {
  964. return x.JumpWeight
  965. }
  966. return 0
  967. }
  968. func (x *AddForageRequest) GetJumpDelay() JumpDelaType_Kind {
  969. if x != nil {
  970. return x.JumpDelay
  971. }
  972. return JumpDelaType_INVALID
  973. }
  974. func (x *AddForageRequest) GetConfirmStart() IsShow_Kind {
  975. if x != nil {
  976. return x.ConfirmStart
  977. }
  978. return IsShow_INVALID
  979. }
  980. func (x *AddForageRequest) GetRelayLocations() int64 {
  981. if x != nil {
  982. return x.RelayLocations
  983. }
  984. return 0
  985. }
  986. func (x *AddForageRequest) GetJmp() IsShow_Kind {
  987. if x != nil {
  988. return x.Jmp
  989. }
  990. return IsShow_INVALID
  991. }
  992. func (x *AddForageRequest) GetBackup1() string {
  993. if x != nil {
  994. return x.Backup1
  995. }
  996. return ""
  997. }
  998. func (x *AddForageRequest) GetBackup2() string {
  999. if x != nil {
  1000. return x.Backup2
  1001. }
  1002. return ""
  1003. }
  1004. func (x *AddForageRequest) GetBackup3() string {
  1005. if x != nil {
  1006. return x.Backup3
  1007. }
  1008. return ""
  1009. }
  1010. func (x *AddForageRequest) GetCreatedAt() int64 {
  1011. if x != nil {
  1012. return x.CreatedAt
  1013. }
  1014. return 0
  1015. }
  1016. func (x *AddForageRequest) GetCreatedAtFormat() string {
  1017. if x != nil {
  1018. return x.CreatedAtFormat
  1019. }
  1020. return ""
  1021. }
  1022. func (x *AddForageRequest) GetIsShow() IsShow_Kind {
  1023. if x != nil {
  1024. return x.IsShow
  1025. }
  1026. return IsShow_INVALID
  1027. }
  1028. type SearchForageListRequest struct {
  1029. state protoimpl.MessageState
  1030. sizeCache protoimpl.SizeCache
  1031. unknownFields protoimpl.UnknownFields
  1032. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 饲料名称
  1033. CategoryId string `protobuf:"bytes,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 饲料分类id
  1034. ForageSourceId int64 `protobuf:"varint,3,opt,name=forage_source_id,json=forageSourceId,proto3" json:"forage_source_id,omitempty"` // 饲料来源
  1035. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  1036. AllowError int64 `protobuf:"varint,5,opt,name=allow_error,json=allowError,proto3" json:"allow_error,omitempty"` // 允许误差
  1037. JumpWeight int64 `protobuf:"varint,6,opt,name=jump_weight,json=jumpWeight,proto3" json:"jump_weight,omitempty"` // 跳转重量域
  1038. JumpDelay JumpDelaType_Kind `protobuf:"varint,7,opt,name=jump_delay,json=jumpDelay,proto3,enum=backend.operation.JumpDelaType_Kind" json:"jump_delay,omitempty"` // 跳转延迟
  1039. Pagination *PaginationModel `protobuf:"bytes,8,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  1040. }
  1041. func (x *SearchForageListRequest) Reset() {
  1042. *x = SearchForageListRequest{}
  1043. if protoimpl.UnsafeEnabled {
  1044. mi := &file_backend_operation_pasture_proto_msgTypes[14]
  1045. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1046. ms.StoreMessageInfo(mi)
  1047. }
  1048. }
  1049. func (x *SearchForageListRequest) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*SearchForageListRequest) ProtoMessage() {}
  1053. func (x *SearchForageListRequest) ProtoReflect() protoreflect.Message {
  1054. mi := &file_backend_operation_pasture_proto_msgTypes[14]
  1055. if protoimpl.UnsafeEnabled && x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use SearchForageListRequest.ProtoReflect.Descriptor instead.
  1065. func (*SearchForageListRequest) Descriptor() ([]byte, []int) {
  1066. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{14}
  1067. }
  1068. func (x *SearchForageListRequest) GetName() string {
  1069. if x != nil {
  1070. return x.Name
  1071. }
  1072. return ""
  1073. }
  1074. func (x *SearchForageListRequest) GetCategoryId() string {
  1075. if x != nil {
  1076. return x.CategoryId
  1077. }
  1078. return ""
  1079. }
  1080. func (x *SearchForageListRequest) GetForageSourceId() int64 {
  1081. if x != nil {
  1082. return x.ForageSourceId
  1083. }
  1084. return 0
  1085. }
  1086. func (x *SearchForageListRequest) GetIsShow() IsShow_Kind {
  1087. if x != nil {
  1088. return x.IsShow
  1089. }
  1090. return IsShow_INVALID
  1091. }
  1092. func (x *SearchForageListRequest) GetAllowError() int64 {
  1093. if x != nil {
  1094. return x.AllowError
  1095. }
  1096. return 0
  1097. }
  1098. func (x *SearchForageListRequest) GetJumpWeight() int64 {
  1099. if x != nil {
  1100. return x.JumpWeight
  1101. }
  1102. return 0
  1103. }
  1104. func (x *SearchForageListRequest) GetJumpDelay() JumpDelaType_Kind {
  1105. if x != nil {
  1106. return x.JumpDelay
  1107. }
  1108. return JumpDelaType_INVALID
  1109. }
  1110. func (x *SearchForageListRequest) GetPagination() *PaginationModel {
  1111. if x != nil {
  1112. return x.Pagination
  1113. }
  1114. return nil
  1115. }
  1116. type SearchForageListResponse struct {
  1117. state protoimpl.MessageState
  1118. sizeCache protoimpl.SizeCache
  1119. unknownFields protoimpl.UnknownFields
  1120. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1121. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1122. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
  1123. List []*AddForageRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  1124. }
  1125. func (x *SearchForageListResponse) Reset() {
  1126. *x = SearchForageListResponse{}
  1127. if protoimpl.UnsafeEnabled {
  1128. mi := &file_backend_operation_pasture_proto_msgTypes[15]
  1129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1130. ms.StoreMessageInfo(mi)
  1131. }
  1132. }
  1133. func (x *SearchForageListResponse) String() string {
  1134. return protoimpl.X.MessageStringOf(x)
  1135. }
  1136. func (*SearchForageListResponse) ProtoMessage() {}
  1137. func (x *SearchForageListResponse) ProtoReflect() protoreflect.Message {
  1138. mi := &file_backend_operation_pasture_proto_msgTypes[15]
  1139. if protoimpl.UnsafeEnabled && x != nil {
  1140. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1141. if ms.LoadMessageInfo() == nil {
  1142. ms.StoreMessageInfo(mi)
  1143. }
  1144. return ms
  1145. }
  1146. return mi.MessageOf(x)
  1147. }
  1148. // Deprecated: Use SearchForageListResponse.ProtoReflect.Descriptor instead.
  1149. func (*SearchForageListResponse) Descriptor() ([]byte, []int) {
  1150. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{15}
  1151. }
  1152. func (x *SearchForageListResponse) GetPage() int32 {
  1153. if x != nil {
  1154. return x.Page
  1155. }
  1156. return 0
  1157. }
  1158. func (x *SearchForageListResponse) GetPageSize() int32 {
  1159. if x != nil {
  1160. return x.PageSize
  1161. }
  1162. return 0
  1163. }
  1164. func (x *SearchForageListResponse) GetTotal() int32 {
  1165. if x != nil {
  1166. return x.Total
  1167. }
  1168. return 0
  1169. }
  1170. func (x *SearchForageListResponse) GetList() []*AddForageRequest {
  1171. if x != nil {
  1172. return x.List
  1173. }
  1174. return nil
  1175. }
  1176. // 是否启用
  1177. type IsShowForage struct {
  1178. state protoimpl.MessageState
  1179. sizeCache protoimpl.SizeCache
  1180. unknownFields protoimpl.UnknownFields
  1181. ForageId int64 `protobuf:"varint,1,opt,name=forage_id,json=forageId,proto3" json:"forage_id,omitempty"`
  1182. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  1183. }
  1184. func (x *IsShowForage) Reset() {
  1185. *x = IsShowForage{}
  1186. if protoimpl.UnsafeEnabled {
  1187. mi := &file_backend_operation_pasture_proto_msgTypes[16]
  1188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1189. ms.StoreMessageInfo(mi)
  1190. }
  1191. }
  1192. func (x *IsShowForage) String() string {
  1193. return protoimpl.X.MessageStringOf(x)
  1194. }
  1195. func (*IsShowForage) ProtoMessage() {}
  1196. func (x *IsShowForage) ProtoReflect() protoreflect.Message {
  1197. mi := &file_backend_operation_pasture_proto_msgTypes[16]
  1198. if protoimpl.UnsafeEnabled && x != nil {
  1199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1200. if ms.LoadMessageInfo() == nil {
  1201. ms.StoreMessageInfo(mi)
  1202. }
  1203. return ms
  1204. }
  1205. return mi.MessageOf(x)
  1206. }
  1207. // Deprecated: Use IsShowForage.ProtoReflect.Descriptor instead.
  1208. func (*IsShowForage) Descriptor() ([]byte, []int) {
  1209. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{16}
  1210. }
  1211. func (x *IsShowForage) GetForageId() int64 {
  1212. if x != nil {
  1213. return x.ForageId
  1214. }
  1215. return 0
  1216. }
  1217. func (x *IsShowForage) GetIsShow() IsShow_Kind {
  1218. if x != nil {
  1219. return x.IsShow
  1220. }
  1221. return IsShow_INVALID
  1222. }
  1223. var File_backend_operation_pasture_proto protoreflect.FileDescriptor
  1224. var file_backend_operation_pasture_proto_rawDesc = []byte{
  1225. 0x0a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1226. 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1227. 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1228. 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70,
  1229. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
  1230. 0x74, 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72,
  1231. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1232. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x50, 0x61,
  1233. 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1234. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
  1235. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1236. 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  1237. 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61,
  1238. 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1239. 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a,
  1240. 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05,
  1241. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x50, 0x68, 0x6f,
  1242. 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20,
  1243. 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07,
  1244. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  1245. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1246. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  1247. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1248. 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  1249. 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
  1250. 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
  1251. 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  1252. 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75,
  1253. 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1254. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
  1255. 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
  1256. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
  1257. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
  1258. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
  1259. 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
  1260. 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
  1261. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1262. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1263. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  1264. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1265. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1266. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1267. 0x69, 0x6f, 0x6e, 0x22, 0x7b, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73,
  1268. 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
  1269. 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,
  1270. 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  1271. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03,
  1272. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1273. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x61, 0x73, 0x74,
  1274. 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74,
  1275. 0x22, 0x55, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
  1276. 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
  1277. 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  1278. 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70,
  1279. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
  1280. 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x12, 0x49, 0x73, 0x53, 0x68, 0x6f,
  1281. 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a,
  1282. 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1283. 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07,
  1284. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  1285. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1286. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  1287. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xc6, 0x02, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x43, 0x61, 0x74,
  1288. 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
  1289. 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
  1290. 0x69, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  1291. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1292. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
  1293. 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b,
  1294. 0x69, 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a,
  1295. 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
  1296. 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12,
  1297. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  1298. 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
  1299. 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  1300. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  1301. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1302. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  1303. 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
  1304. 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1305. 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
  1306. 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63,
  1307. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7d,
  1308. 0x0a, 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
  1309. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65,
  1310. 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1311. 0x28, 0x03, 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  1312. 0x72, 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  1313. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1314. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1315. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xcf, 0x01,
  1316. 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61,
  1317. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
  1318. 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  1319. 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37,
  1320. 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
  1321. 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1322. 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1323. 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1324. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70,
  1325. 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1326. 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1327. 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
  1328. 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1329. 0x89, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65,
  1330. 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1331. 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
  1332. 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
  1333. 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x69,
  1334. 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1335. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64,
  1336. 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65,
  1337. 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc6, 0x02, 0x0a, 0x18,
  1338. 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  1339. 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  1340. 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65,
  1341. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61,
  1342. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1343. 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61,
  1344. 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e,
  1345. 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61,
  1346. 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1347. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
  1348. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62,
  1349. 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
  1350. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28,
  1351. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1352. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  1353. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
  1354. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
  1355. 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61,
  1356. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20,
  1357. 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f,
  1358. 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x46, 0x6f,
  1359. 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12,
  1360. 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f,
  1361. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65,
  1362. 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73,
  1363. 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61,
  1364. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1365. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53,
  1366. 0x68, 0x6f, 0x77, 0x22, 0xcf, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f,
  1367. 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
  1368. 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61,
  1369. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1370. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  1371. 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1372. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1373. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a,
  1374. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1375. 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  1376. 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1377. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61,
  1378. 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
  1379. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x89, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68,
  1380. 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65,
  1381. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01,
  1382. 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f,
  1383. 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c,
  1384. 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b,
  1385. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1386. 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65,
  1387. 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73,
  1388. 0x74, 0x22, 0xc8, 0x07, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52,
  1389. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  1390. 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
  1391. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61,
  1392. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  1393. 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63,
  1394. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
  1395. 0x28, 0x09, 0x52, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65,
  1396. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70,
  1397. 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
  1398. 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f,
  1399. 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x75, 0x6e,
  1400. 0x69, 0x71, 0x75, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x66, 0x6f,
  1401. 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08,
  1402. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1403. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53,
  1404. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x61,
  1405. 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x6c,
  1406. 0x61, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e,
  1407. 0x32, 0x26, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1408. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x54,
  1409. 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x54, 0x79,
  1410. 0x70, 0x65, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x61,
  1411. 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01,
  1412. 0x28, 0x09, 0x52, 0x12, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
  1413. 0x6c, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f,
  1414. 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c,
  1415. 0x6f, 0x77, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61,
  1416. 0x67, 0x65, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52,
  1417. 0x0d, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14,
  1418. 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70,
  1419. 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x77, 0x65, 0x69,
  1420. 0x67, 0x68, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x57,
  1421. 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x64, 0x65,
  1422. 0x6c, 0x61, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1423. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x75,
  1424. 0x6d, 0x70, 0x44, 0x65, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
  1425. 0x09, 0x6a, 0x75, 0x6d, 0x70, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x63, 0x6f,
  1426. 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28,
  1427. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1428. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  1429. 0x64, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12,
  1430. 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  1431. 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x4c,
  1432. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x03, 0x6a, 0x6d, 0x70, 0x18,
  1433. 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1434. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1435. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x03, 0x6a, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61,
  1436. 0x63, 0x6b, 0x75, 0x70, 0x31, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63,
  1437. 0x6b, 0x75, 0x70, 0x31, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x32, 0x18,
  1438. 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x32, 0x12, 0x18,
  1439. 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x33, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52,
  1440. 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x33, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
  1441. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
  1442. 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74,
  1443. 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x17, 0x20, 0x01,
  1444. 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72,
  1445. 0x6d, 0x61, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x18,
  1446. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1447. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e,
  1448. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xfc, 0x02, 0x0a,
  1449. 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73,
  1450. 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1451. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
  1452. 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  1453. 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a,
  1454. 0x10, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69,
  1455. 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53,
  1456. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68,
  1457. 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1458. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53,
  1459. 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1460. 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
  1461. 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x72, 0x72, 0x6f,
  1462. 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
  1463. 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x57, 0x65, 0x69, 0x67,
  1464. 0x68, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79,
  1465. 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1466. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x75, 0x6d, 0x70, 0x44,
  1467. 0x65, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x6a, 0x75,
  1468. 0x6d, 0x70, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e,
  1469. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61,
  1470. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1471. 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52,
  1472. 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x18,
  1473. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74,
  1474. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65,
  1475. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09,
  1476. 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
  1477. 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74,
  1478. 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12,
  1479. 0x37, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e,
  1480. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1481. 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  1482. 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x0c, 0x49, 0x73, 0x53, 0x68,
  1483. 0x6f, 0x77, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x61,
  1484. 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x6f, 0x72,
  1485. 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77,
  1486. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1487. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f,
  1488. 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x42, 0x0f,
  1489. 0x5a, 0x0d, 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62,
  1490. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1491. }
  1492. var (
  1493. file_backend_operation_pasture_proto_rawDescOnce sync.Once
  1494. file_backend_operation_pasture_proto_rawDescData = file_backend_operation_pasture_proto_rawDesc
  1495. )
  1496. func file_backend_operation_pasture_proto_rawDescGZIP() []byte {
  1497. file_backend_operation_pasture_proto_rawDescOnce.Do(func() {
  1498. file_backend_operation_pasture_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_pasture_proto_rawDescData)
  1499. })
  1500. return file_backend_operation_pasture_proto_rawDescData
  1501. }
  1502. var file_backend_operation_pasture_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
  1503. var file_backend_operation_pasture_proto_goTypes = []interface{}{
  1504. (*AddPastureRequest)(nil), // 0: backend.operation.AddPastureRequest
  1505. (*SearchPastureRequest)(nil), // 1: backend.operation.SearchPastureRequest
  1506. (*SearchPastureResponse)(nil), // 2: backend.operation.SearchPastureResponse
  1507. (*RestPasswordGroupPasture)(nil), // 3: backend.operation.RestPasswordGroupPasture
  1508. (*IsShowGroupPasture)(nil), // 4: backend.operation.IsShowGroupPasture
  1509. (*AddCattleCategoryRequest)(nil), // 5: backend.operation.AddCattleCategoryRequest
  1510. (*IsShowCattleCategory)(nil), // 6: backend.operation.IsShowCattleCategory
  1511. (*SearchCattleCategoryRequest)(nil), // 7: backend.operation.SearchCattleCategoryRequest
  1512. (*SearchCattleCategoryResponse)(nil), // 8: backend.operation.SearchCattleCategoryResponse
  1513. (*AddForageCategoryRequest)(nil), // 9: backend.operation.AddForageCategoryRequest
  1514. (*IsShowForageCategory)(nil), // 10: backend.operation.IsShowForageCategory
  1515. (*SearchForageCategoryRequest)(nil), // 11: backend.operation.SearchForageCategoryRequest
  1516. (*SearchForageCategoryResponse)(nil), // 12: backend.operation.SearchForageCategoryResponse
  1517. (*AddForageRequest)(nil), // 13: backend.operation.AddForageRequest
  1518. (*SearchForageListRequest)(nil), // 14: backend.operation.SearchForageListRequest
  1519. (*SearchForageListResponse)(nil), // 15: backend.operation.SearchForageListResponse
  1520. (*IsShowForage)(nil), // 16: backend.operation.IsShowForage
  1521. (IsShow_Kind)(0), // 17: backend.operation.IsShow.Kind
  1522. (*PaginationModel)(nil), // 18: backend.operation.PaginationModel
  1523. (CattleCategoryParent_Kind)(0), // 19: backend.operation.CattleCategoryParent.Kind
  1524. (ForageCategoryParent_Kind)(0), // 20: backend.operation.ForageCategoryParent.Kind
  1525. (ForageSource_Kind)(0), // 21: backend.operation.ForageSource.Kind
  1526. (ForagePlanType_Kind)(0), // 22: backend.operation.ForagePlanType.Kind
  1527. (JumpDelaType_Kind)(0), // 23: backend.operation.JumpDelaType.Kind
  1528. }
  1529. var file_backend_operation_pasture_proto_depIdxs = []int32{
  1530. 17, // 0: backend.operation.AddPastureRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1531. 18, // 1: backend.operation.SearchPastureRequest.pagination:type_name -> backend.operation.PaginationModel
  1532. 0, // 2: backend.operation.SearchPastureResponse.list:type_name -> backend.operation.AddPastureRequest
  1533. 17, // 3: backend.operation.IsShowGroupPasture.is_show:type_name -> backend.operation.IsShow.Kind
  1534. 19, // 4: backend.operation.AddCattleCategoryRequest.parent_id:type_name -> backend.operation.CattleCategoryParent.Kind
  1535. 17, // 5: backend.operation.AddCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1536. 17, // 6: backend.operation.IsShowCattleCategory.is_show:type_name -> backend.operation.IsShow.Kind
  1537. 17, // 7: backend.operation.SearchCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1538. 18, // 8: backend.operation.SearchCattleCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
  1539. 5, // 9: backend.operation.SearchCattleCategoryResponse.list:type_name -> backend.operation.AddCattleCategoryRequest
  1540. 20, // 10: backend.operation.AddForageCategoryRequest.parent_id:type_name -> backend.operation.ForageCategoryParent.Kind
  1541. 17, // 11: backend.operation.AddForageCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1542. 17, // 12: backend.operation.IsShowForageCategory.is_show:type_name -> backend.operation.IsShow.Kind
  1543. 17, // 13: backend.operation.SearchForageCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1544. 18, // 14: backend.operation.SearchForageCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
  1545. 9, // 15: backend.operation.SearchForageCategoryResponse.list:type_name -> backend.operation.AddForageCategoryRequest
  1546. 21, // 16: backend.operation.AddForageRequest.forage_source_id:type_name -> backend.operation.ForageSource.Kind
  1547. 22, // 17: backend.operation.AddForageRequest.plan_type_id:type_name -> backend.operation.ForagePlanType.Kind
  1548. 23, // 18: backend.operation.AddForageRequest.jump_delay:type_name -> backend.operation.JumpDelaType.Kind
  1549. 17, // 19: backend.operation.AddForageRequest.confirm_start:type_name -> backend.operation.IsShow.Kind
  1550. 17, // 20: backend.operation.AddForageRequest.jmp:type_name -> backend.operation.IsShow.Kind
  1551. 17, // 21: backend.operation.AddForageRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1552. 17, // 22: backend.operation.SearchForageListRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1553. 23, // 23: backend.operation.SearchForageListRequest.jump_delay:type_name -> backend.operation.JumpDelaType.Kind
  1554. 18, // 24: backend.operation.SearchForageListRequest.pagination:type_name -> backend.operation.PaginationModel
  1555. 13, // 25: backend.operation.SearchForageListResponse.list:type_name -> backend.operation.AddForageRequest
  1556. 17, // 26: backend.operation.IsShowForage.is_show:type_name -> backend.operation.IsShow.Kind
  1557. 27, // [27:27] is the sub-list for method output_type
  1558. 27, // [27:27] is the sub-list for method input_type
  1559. 27, // [27:27] is the sub-list for extension type_name
  1560. 27, // [27:27] is the sub-list for extension extendee
  1561. 0, // [0:27] is the sub-list for field type_name
  1562. }
  1563. func init() { file_backend_operation_pasture_proto_init() }
  1564. func file_backend_operation_pasture_proto_init() {
  1565. if File_backend_operation_pasture_proto != nil {
  1566. return
  1567. }
  1568. file_backend_operation_enum_proto_init()
  1569. file_backend_operation_pagination_proto_init()
  1570. if !protoimpl.UnsafeEnabled {
  1571. file_backend_operation_pasture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1572. switch v := v.(*AddPastureRequest); i {
  1573. case 0:
  1574. return &v.state
  1575. case 1:
  1576. return &v.sizeCache
  1577. case 2:
  1578. return &v.unknownFields
  1579. default:
  1580. return nil
  1581. }
  1582. }
  1583. file_backend_operation_pasture_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1584. switch v := v.(*SearchPastureRequest); i {
  1585. case 0:
  1586. return &v.state
  1587. case 1:
  1588. return &v.sizeCache
  1589. case 2:
  1590. return &v.unknownFields
  1591. default:
  1592. return nil
  1593. }
  1594. }
  1595. file_backend_operation_pasture_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1596. switch v := v.(*SearchPastureResponse); i {
  1597. case 0:
  1598. return &v.state
  1599. case 1:
  1600. return &v.sizeCache
  1601. case 2:
  1602. return &v.unknownFields
  1603. default:
  1604. return nil
  1605. }
  1606. }
  1607. file_backend_operation_pasture_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1608. switch v := v.(*RestPasswordGroupPasture); i {
  1609. case 0:
  1610. return &v.state
  1611. case 1:
  1612. return &v.sizeCache
  1613. case 2:
  1614. return &v.unknownFields
  1615. default:
  1616. return nil
  1617. }
  1618. }
  1619. file_backend_operation_pasture_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1620. switch v := v.(*IsShowGroupPasture); i {
  1621. case 0:
  1622. return &v.state
  1623. case 1:
  1624. return &v.sizeCache
  1625. case 2:
  1626. return &v.unknownFields
  1627. default:
  1628. return nil
  1629. }
  1630. }
  1631. file_backend_operation_pasture_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1632. switch v := v.(*AddCattleCategoryRequest); i {
  1633. case 0:
  1634. return &v.state
  1635. case 1:
  1636. return &v.sizeCache
  1637. case 2:
  1638. return &v.unknownFields
  1639. default:
  1640. return nil
  1641. }
  1642. }
  1643. file_backend_operation_pasture_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1644. switch v := v.(*IsShowCattleCategory); i {
  1645. case 0:
  1646. return &v.state
  1647. case 1:
  1648. return &v.sizeCache
  1649. case 2:
  1650. return &v.unknownFields
  1651. default:
  1652. return nil
  1653. }
  1654. }
  1655. file_backend_operation_pasture_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1656. switch v := v.(*SearchCattleCategoryRequest); i {
  1657. case 0:
  1658. return &v.state
  1659. case 1:
  1660. return &v.sizeCache
  1661. case 2:
  1662. return &v.unknownFields
  1663. default:
  1664. return nil
  1665. }
  1666. }
  1667. file_backend_operation_pasture_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1668. switch v := v.(*SearchCattleCategoryResponse); i {
  1669. case 0:
  1670. return &v.state
  1671. case 1:
  1672. return &v.sizeCache
  1673. case 2:
  1674. return &v.unknownFields
  1675. default:
  1676. return nil
  1677. }
  1678. }
  1679. file_backend_operation_pasture_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1680. switch v := v.(*AddForageCategoryRequest); i {
  1681. case 0:
  1682. return &v.state
  1683. case 1:
  1684. return &v.sizeCache
  1685. case 2:
  1686. return &v.unknownFields
  1687. default:
  1688. return nil
  1689. }
  1690. }
  1691. file_backend_operation_pasture_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1692. switch v := v.(*IsShowForageCategory); i {
  1693. case 0:
  1694. return &v.state
  1695. case 1:
  1696. return &v.sizeCache
  1697. case 2:
  1698. return &v.unknownFields
  1699. default:
  1700. return nil
  1701. }
  1702. }
  1703. file_backend_operation_pasture_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1704. switch v := v.(*SearchForageCategoryRequest); i {
  1705. case 0:
  1706. return &v.state
  1707. case 1:
  1708. return &v.sizeCache
  1709. case 2:
  1710. return &v.unknownFields
  1711. default:
  1712. return nil
  1713. }
  1714. }
  1715. file_backend_operation_pasture_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1716. switch v := v.(*SearchForageCategoryResponse); i {
  1717. case 0:
  1718. return &v.state
  1719. case 1:
  1720. return &v.sizeCache
  1721. case 2:
  1722. return &v.unknownFields
  1723. default:
  1724. return nil
  1725. }
  1726. }
  1727. file_backend_operation_pasture_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1728. switch v := v.(*AddForageRequest); i {
  1729. case 0:
  1730. return &v.state
  1731. case 1:
  1732. return &v.sizeCache
  1733. case 2:
  1734. return &v.unknownFields
  1735. default:
  1736. return nil
  1737. }
  1738. }
  1739. file_backend_operation_pasture_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1740. switch v := v.(*SearchForageListRequest); i {
  1741. case 0:
  1742. return &v.state
  1743. case 1:
  1744. return &v.sizeCache
  1745. case 2:
  1746. return &v.unknownFields
  1747. default:
  1748. return nil
  1749. }
  1750. }
  1751. file_backend_operation_pasture_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1752. switch v := v.(*SearchForageListResponse); i {
  1753. case 0:
  1754. return &v.state
  1755. case 1:
  1756. return &v.sizeCache
  1757. case 2:
  1758. return &v.unknownFields
  1759. default:
  1760. return nil
  1761. }
  1762. }
  1763. file_backend_operation_pasture_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1764. switch v := v.(*IsShowForage); i {
  1765. case 0:
  1766. return &v.state
  1767. case 1:
  1768. return &v.sizeCache
  1769. case 2:
  1770. return &v.unknownFields
  1771. default:
  1772. return nil
  1773. }
  1774. }
  1775. }
  1776. type x struct{}
  1777. out := protoimpl.TypeBuilder{
  1778. File: protoimpl.DescBuilder{
  1779. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1780. RawDescriptor: file_backend_operation_pasture_proto_rawDesc,
  1781. NumEnums: 0,
  1782. NumMessages: 17,
  1783. NumExtensions: 0,
  1784. NumServices: 0,
  1785. },
  1786. GoTypes: file_backend_operation_pasture_proto_goTypes,
  1787. DependencyIndexes: file_backend_operation_pasture_proto_depIdxs,
  1788. MessageInfos: file_backend_operation_pasture_proto_msgTypes,
  1789. }.Build()
  1790. File_backend_operation_pasture_proto = out.File
  1791. file_backend_operation_pasture_proto_rawDesc = nil
  1792. file_backend_operation_pasture_proto_goTypes = nil
  1793. file_backend_operation_pasture_proto_depIdxs = nil
  1794. }