pasture.pb.go 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270
  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. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  193. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  194. Data *SearchPastureData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,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) GetCode() int64 {
  224. if x != nil {
  225. return x.Code
  226. }
  227. return 0
  228. }
  229. func (x *SearchPastureResponse) GetMsg() string {
  230. if x != nil {
  231. return x.Msg
  232. }
  233. return ""
  234. }
  235. func (x *SearchPastureResponse) GetData() *SearchPastureData {
  236. if x != nil {
  237. return x.Data
  238. }
  239. return nil
  240. }
  241. type SearchPastureData struct {
  242. state protoimpl.MessageState
  243. sizeCache protoimpl.SizeCache
  244. unknownFields protoimpl.UnknownFields
  245. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  246. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  247. List []*AddPastureRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  248. }
  249. func (x *SearchPastureData) Reset() {
  250. *x = SearchPastureData{}
  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 *SearchPastureData) String() string {
  258. return protoimpl.X.MessageStringOf(x)
  259. }
  260. func (*SearchPastureData) ProtoMessage() {}
  261. func (x *SearchPastureData) 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 SearchPastureData.ProtoReflect.Descriptor instead.
  273. func (*SearchPastureData) Descriptor() ([]byte, []int) {
  274. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{3}
  275. }
  276. func (x *SearchPastureData) GetPage() int32 {
  277. if x != nil {
  278. return x.Page
  279. }
  280. return 0
  281. }
  282. func (x *SearchPastureData) GetTotal() int32 {
  283. if x != nil {
  284. return x.Total
  285. }
  286. return 0
  287. }
  288. func (x *SearchPastureData) GetList() []*AddPastureRequest {
  289. if x != nil {
  290. return x.List
  291. }
  292. return nil
  293. }
  294. // 重置牧场登录密码
  295. type RestPasswordGroupPasture struct {
  296. state protoimpl.MessageState
  297. sizeCache protoimpl.SizeCache
  298. unknownFields protoimpl.UnknownFields
  299. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  300. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码(md5加密过的)
  301. }
  302. func (x *RestPasswordGroupPasture) Reset() {
  303. *x = RestPasswordGroupPasture{}
  304. if protoimpl.UnsafeEnabled {
  305. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  306. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  307. ms.StoreMessageInfo(mi)
  308. }
  309. }
  310. func (x *RestPasswordGroupPasture) String() string {
  311. return protoimpl.X.MessageStringOf(x)
  312. }
  313. func (*RestPasswordGroupPasture) ProtoMessage() {}
  314. func (x *RestPasswordGroupPasture) ProtoReflect() protoreflect.Message {
  315. mi := &file_backend_operation_pasture_proto_msgTypes[4]
  316. if protoimpl.UnsafeEnabled && x != nil {
  317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  318. if ms.LoadMessageInfo() == nil {
  319. ms.StoreMessageInfo(mi)
  320. }
  321. return ms
  322. }
  323. return mi.MessageOf(x)
  324. }
  325. // Deprecated: Use RestPasswordGroupPasture.ProtoReflect.Descriptor instead.
  326. func (*RestPasswordGroupPasture) Descriptor() ([]byte, []int) {
  327. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{4}
  328. }
  329. func (x *RestPasswordGroupPasture) GetPastureId() int64 {
  330. if x != nil {
  331. return x.PastureId
  332. }
  333. return 0
  334. }
  335. func (x *RestPasswordGroupPasture) GetPassword() string {
  336. if x != nil {
  337. return x.Password
  338. }
  339. return ""
  340. }
  341. type IsShowGroupPasture struct {
  342. state protoimpl.MessageState
  343. sizeCache protoimpl.SizeCache
  344. unknownFields protoimpl.UnknownFields
  345. PastureId int64 `protobuf:"varint,1,opt,name=pasture_id,json=pastureId,proto3" json:"pasture_id,omitempty"` // 牧场id
  346. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否开启
  347. }
  348. func (x *IsShowGroupPasture) Reset() {
  349. *x = IsShowGroupPasture{}
  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 *IsShowGroupPasture) String() string {
  357. return protoimpl.X.MessageStringOf(x)
  358. }
  359. func (*IsShowGroupPasture) ProtoMessage() {}
  360. func (x *IsShowGroupPasture) 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 IsShowGroupPasture.ProtoReflect.Descriptor instead.
  372. func (*IsShowGroupPasture) Descriptor() ([]byte, []int) {
  373. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{5}
  374. }
  375. func (x *IsShowGroupPasture) GetPastureId() int64 {
  376. if x != nil {
  377. return x.PastureId
  378. }
  379. return 0
  380. }
  381. func (x *IsShowGroupPasture) GetIsShow() IsShow_Kind {
  382. if x != nil {
  383. return x.IsShow
  384. }
  385. return IsShow_INVALID
  386. }
  387. // 添加牧畜分类
  388. type AddCattleCategoryRequest struct {
  389. state protoimpl.MessageState
  390. sizeCache protoimpl.SizeCache
  391. unknownFields protoimpl.UnknownFields
  392. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  393. ParentId CattleCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.CattleCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
  394. ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
  395. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
  396. Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
  397. IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  398. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  399. CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
  400. }
  401. func (x *AddCattleCategoryRequest) Reset() {
  402. *x = AddCattleCategoryRequest{}
  403. if protoimpl.UnsafeEnabled {
  404. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  406. ms.StoreMessageInfo(mi)
  407. }
  408. }
  409. func (x *AddCattleCategoryRequest) String() string {
  410. return protoimpl.X.MessageStringOf(x)
  411. }
  412. func (*AddCattleCategoryRequest) ProtoMessage() {}
  413. func (x *AddCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  414. mi := &file_backend_operation_pasture_proto_msgTypes[6]
  415. if protoimpl.UnsafeEnabled && x != nil {
  416. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  417. if ms.LoadMessageInfo() == nil {
  418. ms.StoreMessageInfo(mi)
  419. }
  420. return ms
  421. }
  422. return mi.MessageOf(x)
  423. }
  424. // Deprecated: Use AddCattleCategoryRequest.ProtoReflect.Descriptor instead.
  425. func (*AddCattleCategoryRequest) Descriptor() ([]byte, []int) {
  426. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{6}
  427. }
  428. func (x *AddCattleCategoryRequest) GetId() int64 {
  429. if x != nil {
  430. return x.Id
  431. }
  432. return 0
  433. }
  434. func (x *AddCattleCategoryRequest) GetParentId() CattleCategoryParent_Kind {
  435. if x != nil {
  436. return x.ParentId
  437. }
  438. return CattleCategoryParent_INVALID
  439. }
  440. func (x *AddCattleCategoryRequest) GetParentName() string {
  441. if x != nil {
  442. return x.ParentName
  443. }
  444. return ""
  445. }
  446. func (x *AddCattleCategoryRequest) GetName() string {
  447. if x != nil {
  448. return x.Name
  449. }
  450. return ""
  451. }
  452. func (x *AddCattleCategoryRequest) GetNumber() string {
  453. if x != nil {
  454. return x.Number
  455. }
  456. return ""
  457. }
  458. func (x *AddCattleCategoryRequest) GetIsShow() IsShow_Kind {
  459. if x != nil {
  460. return x.IsShow
  461. }
  462. return IsShow_INVALID
  463. }
  464. func (x *AddCattleCategoryRequest) GetCreatedAt() int64 {
  465. if x != nil {
  466. return x.CreatedAt
  467. }
  468. return 0
  469. }
  470. func (x *AddCattleCategoryRequest) GetCreatedAtFormat() string {
  471. if x != nil {
  472. return x.CreatedAtFormat
  473. }
  474. return ""
  475. }
  476. // 是否启用
  477. type IsShowCattleCategory struct {
  478. state protoimpl.MessageState
  479. sizeCache protoimpl.SizeCache
  480. unknownFields protoimpl.UnknownFields
  481. CattleCategoryId int64 `protobuf:"varint,1,opt,name=cattle_category_id,json=cattleCategoryId,proto3" json:"cattle_category_id,omitempty"`
  482. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  483. }
  484. func (x *IsShowCattleCategory) Reset() {
  485. *x = IsShowCattleCategory{}
  486. if protoimpl.UnsafeEnabled {
  487. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  488. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  489. ms.StoreMessageInfo(mi)
  490. }
  491. }
  492. func (x *IsShowCattleCategory) String() string {
  493. return protoimpl.X.MessageStringOf(x)
  494. }
  495. func (*IsShowCattleCategory) ProtoMessage() {}
  496. func (x *IsShowCattleCategory) ProtoReflect() protoreflect.Message {
  497. mi := &file_backend_operation_pasture_proto_msgTypes[7]
  498. if protoimpl.UnsafeEnabled && x != nil {
  499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  500. if ms.LoadMessageInfo() == nil {
  501. ms.StoreMessageInfo(mi)
  502. }
  503. return ms
  504. }
  505. return mi.MessageOf(x)
  506. }
  507. // Deprecated: Use IsShowCattleCategory.ProtoReflect.Descriptor instead.
  508. func (*IsShowCattleCategory) Descriptor() ([]byte, []int) {
  509. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{7}
  510. }
  511. func (x *IsShowCattleCategory) GetCattleCategoryId() int64 {
  512. if x != nil {
  513. return x.CattleCategoryId
  514. }
  515. return 0
  516. }
  517. func (x *IsShowCattleCategory) GetIsShow() IsShow_Kind {
  518. if x != nil {
  519. return x.IsShow
  520. }
  521. return IsShow_INVALID
  522. }
  523. // 畜牧分类查询列表
  524. type SearchCattleCategoryRequest struct {
  525. state protoimpl.MessageState
  526. sizeCache protoimpl.SizeCache
  527. unknownFields protoimpl.UnknownFields
  528. ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
  529. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  530. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  531. Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  532. }
  533. func (x *SearchCattleCategoryRequest) Reset() {
  534. *x = SearchCattleCategoryRequest{}
  535. if protoimpl.UnsafeEnabled {
  536. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  538. ms.StoreMessageInfo(mi)
  539. }
  540. }
  541. func (x *SearchCattleCategoryRequest) String() string {
  542. return protoimpl.X.MessageStringOf(x)
  543. }
  544. func (*SearchCattleCategoryRequest) ProtoMessage() {}
  545. func (x *SearchCattleCategoryRequest) ProtoReflect() protoreflect.Message {
  546. mi := &file_backend_operation_pasture_proto_msgTypes[8]
  547. if protoimpl.UnsafeEnabled && x != nil {
  548. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  549. if ms.LoadMessageInfo() == nil {
  550. ms.StoreMessageInfo(mi)
  551. }
  552. return ms
  553. }
  554. return mi.MessageOf(x)
  555. }
  556. // Deprecated: Use SearchCattleCategoryRequest.ProtoReflect.Descriptor instead.
  557. func (*SearchCattleCategoryRequest) Descriptor() ([]byte, []int) {
  558. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{8}
  559. }
  560. func (x *SearchCattleCategoryRequest) GetParentName() string {
  561. if x != nil {
  562. return x.ParentName
  563. }
  564. return ""
  565. }
  566. func (x *SearchCattleCategoryRequest) GetIsShow() IsShow_Kind {
  567. if x != nil {
  568. return x.IsShow
  569. }
  570. return IsShow_INVALID
  571. }
  572. func (x *SearchCattleCategoryRequest) GetName() string {
  573. if x != nil {
  574. return x.Name
  575. }
  576. return ""
  577. }
  578. func (x *SearchCattleCategoryRequest) GetPagination() *PaginationModel {
  579. if x != nil {
  580. return x.Pagination
  581. }
  582. return nil
  583. }
  584. type SearchCattleCategoryResponse struct {
  585. state protoimpl.MessageState
  586. sizeCache protoimpl.SizeCache
  587. unknownFields protoimpl.UnknownFields
  588. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  589. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  590. Data *SearchCattleCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  591. }
  592. func (x *SearchCattleCategoryResponse) Reset() {
  593. *x = SearchCattleCategoryResponse{}
  594. if protoimpl.UnsafeEnabled {
  595. mi := &file_backend_operation_pasture_proto_msgTypes[9]
  596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  597. ms.StoreMessageInfo(mi)
  598. }
  599. }
  600. func (x *SearchCattleCategoryResponse) String() string {
  601. return protoimpl.X.MessageStringOf(x)
  602. }
  603. func (*SearchCattleCategoryResponse) ProtoMessage() {}
  604. func (x *SearchCattleCategoryResponse) ProtoReflect() protoreflect.Message {
  605. mi := &file_backend_operation_pasture_proto_msgTypes[9]
  606. if protoimpl.UnsafeEnabled && x != nil {
  607. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  608. if ms.LoadMessageInfo() == nil {
  609. ms.StoreMessageInfo(mi)
  610. }
  611. return ms
  612. }
  613. return mi.MessageOf(x)
  614. }
  615. // Deprecated: Use SearchCattleCategoryResponse.ProtoReflect.Descriptor instead.
  616. func (*SearchCattleCategoryResponse) Descriptor() ([]byte, []int) {
  617. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{9}
  618. }
  619. func (x *SearchCattleCategoryResponse) GetCode() int64 {
  620. if x != nil {
  621. return x.Code
  622. }
  623. return 0
  624. }
  625. func (x *SearchCattleCategoryResponse) GetMsg() string {
  626. if x != nil {
  627. return x.Msg
  628. }
  629. return ""
  630. }
  631. func (x *SearchCattleCategoryResponse) GetData() *SearchCattleCategoryData {
  632. if x != nil {
  633. return x.Data
  634. }
  635. return nil
  636. }
  637. type SearchCattleCategoryData struct {
  638. state protoimpl.MessageState
  639. sizeCache protoimpl.SizeCache
  640. unknownFields protoimpl.UnknownFields
  641. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  642. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  643. List []*AddCattleCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  644. }
  645. func (x *SearchCattleCategoryData) Reset() {
  646. *x = SearchCattleCategoryData{}
  647. if protoimpl.UnsafeEnabled {
  648. mi := &file_backend_operation_pasture_proto_msgTypes[10]
  649. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  650. ms.StoreMessageInfo(mi)
  651. }
  652. }
  653. func (x *SearchCattleCategoryData) String() string {
  654. return protoimpl.X.MessageStringOf(x)
  655. }
  656. func (*SearchCattleCategoryData) ProtoMessage() {}
  657. func (x *SearchCattleCategoryData) ProtoReflect() protoreflect.Message {
  658. mi := &file_backend_operation_pasture_proto_msgTypes[10]
  659. if protoimpl.UnsafeEnabled && x != nil {
  660. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  661. if ms.LoadMessageInfo() == nil {
  662. ms.StoreMessageInfo(mi)
  663. }
  664. return ms
  665. }
  666. return mi.MessageOf(x)
  667. }
  668. // Deprecated: Use SearchCattleCategoryData.ProtoReflect.Descriptor instead.
  669. func (*SearchCattleCategoryData) Descriptor() ([]byte, []int) {
  670. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{10}
  671. }
  672. func (x *SearchCattleCategoryData) GetPage() int32 {
  673. if x != nil {
  674. return x.Page
  675. }
  676. return 0
  677. }
  678. func (x *SearchCattleCategoryData) GetTotal() int32 {
  679. if x != nil {
  680. return x.Total
  681. }
  682. return 0
  683. }
  684. func (x *SearchCattleCategoryData) GetList() []*AddCattleCategoryRequest {
  685. if x != nil {
  686. return x.List
  687. }
  688. return nil
  689. }
  690. // 添加饲料分类
  691. type AddForageCategoryRequest struct {
  692. state protoimpl.MessageState
  693. sizeCache protoimpl.SizeCache
  694. unknownFields protoimpl.UnknownFields
  695. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  696. ParentId ForageCategoryParent_Kind `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3,enum=backend.operation.ForageCategoryParent_Kind" json:"parent_id,omitempty"` // 父类id
  697. ParentName string `protobuf:"bytes,3,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"` // 父类名称
  698. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 牧畜分类名称
  699. Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"` // 畜牧类别编号
  700. IsShow IsShow_Kind `protobuf:"varint,6,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  701. CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  702. CreatedAtFormat string `protobuf:"bytes,8,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式
  703. }
  704. func (x *AddForageCategoryRequest) Reset() {
  705. *x = AddForageCategoryRequest{}
  706. if protoimpl.UnsafeEnabled {
  707. mi := &file_backend_operation_pasture_proto_msgTypes[11]
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. ms.StoreMessageInfo(mi)
  710. }
  711. }
  712. func (x *AddForageCategoryRequest) String() string {
  713. return protoimpl.X.MessageStringOf(x)
  714. }
  715. func (*AddForageCategoryRequest) ProtoMessage() {}
  716. func (x *AddForageCategoryRequest) ProtoReflect() protoreflect.Message {
  717. mi := &file_backend_operation_pasture_proto_msgTypes[11]
  718. if protoimpl.UnsafeEnabled && x != nil {
  719. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  720. if ms.LoadMessageInfo() == nil {
  721. ms.StoreMessageInfo(mi)
  722. }
  723. return ms
  724. }
  725. return mi.MessageOf(x)
  726. }
  727. // Deprecated: Use AddForageCategoryRequest.ProtoReflect.Descriptor instead.
  728. func (*AddForageCategoryRequest) Descriptor() ([]byte, []int) {
  729. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{11}
  730. }
  731. func (x *AddForageCategoryRequest) GetId() int64 {
  732. if x != nil {
  733. return x.Id
  734. }
  735. return 0
  736. }
  737. func (x *AddForageCategoryRequest) GetParentId() ForageCategoryParent_Kind {
  738. if x != nil {
  739. return x.ParentId
  740. }
  741. return ForageCategoryParent_INVALID
  742. }
  743. func (x *AddForageCategoryRequest) GetParentName() string {
  744. if x != nil {
  745. return x.ParentName
  746. }
  747. return ""
  748. }
  749. func (x *AddForageCategoryRequest) GetName() string {
  750. if x != nil {
  751. return x.Name
  752. }
  753. return ""
  754. }
  755. func (x *AddForageCategoryRequest) GetNumber() string {
  756. if x != nil {
  757. return x.Number
  758. }
  759. return ""
  760. }
  761. func (x *AddForageCategoryRequest) GetIsShow() IsShow_Kind {
  762. if x != nil {
  763. return x.IsShow
  764. }
  765. return IsShow_INVALID
  766. }
  767. func (x *AddForageCategoryRequest) GetCreatedAt() int64 {
  768. if x != nil {
  769. return x.CreatedAt
  770. }
  771. return 0
  772. }
  773. func (x *AddForageCategoryRequest) GetCreatedAtFormat() string {
  774. if x != nil {
  775. return x.CreatedAtFormat
  776. }
  777. return ""
  778. }
  779. // 是否启用
  780. type IsShowForageCategory struct {
  781. state protoimpl.MessageState
  782. sizeCache protoimpl.SizeCache
  783. unknownFields protoimpl.UnknownFields
  784. ForageCategoryId int64 `protobuf:"varint,1,opt,name=forage_category_id,json=forageCategoryId,proto3" json:"forage_category_id,omitempty"`
  785. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  786. }
  787. func (x *IsShowForageCategory) Reset() {
  788. *x = IsShowForageCategory{}
  789. if protoimpl.UnsafeEnabled {
  790. mi := &file_backend_operation_pasture_proto_msgTypes[12]
  791. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  792. ms.StoreMessageInfo(mi)
  793. }
  794. }
  795. func (x *IsShowForageCategory) String() string {
  796. return protoimpl.X.MessageStringOf(x)
  797. }
  798. func (*IsShowForageCategory) ProtoMessage() {}
  799. func (x *IsShowForageCategory) ProtoReflect() protoreflect.Message {
  800. mi := &file_backend_operation_pasture_proto_msgTypes[12]
  801. if protoimpl.UnsafeEnabled && x != nil {
  802. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  803. if ms.LoadMessageInfo() == nil {
  804. ms.StoreMessageInfo(mi)
  805. }
  806. return ms
  807. }
  808. return mi.MessageOf(x)
  809. }
  810. // Deprecated: Use IsShowForageCategory.ProtoReflect.Descriptor instead.
  811. func (*IsShowForageCategory) Descriptor() ([]byte, []int) {
  812. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{12}
  813. }
  814. func (x *IsShowForageCategory) GetForageCategoryId() int64 {
  815. if x != nil {
  816. return x.ForageCategoryId
  817. }
  818. return 0
  819. }
  820. func (x *IsShowForageCategory) GetIsShow() IsShow_Kind {
  821. if x != nil {
  822. return x.IsShow
  823. }
  824. return IsShow_INVALID
  825. }
  826. // 饲料分类查询列表
  827. type SearchForageCategoryRequest struct {
  828. state protoimpl.MessageState
  829. sizeCache protoimpl.SizeCache
  830. unknownFields protoimpl.UnknownFields
  831. ParentName string `protobuf:"bytes,1,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
  832. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  833. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  834. Pagination *PaginationModel `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  835. }
  836. func (x *SearchForageCategoryRequest) Reset() {
  837. *x = SearchForageCategoryRequest{}
  838. if protoimpl.UnsafeEnabled {
  839. mi := &file_backend_operation_pasture_proto_msgTypes[13]
  840. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  841. ms.StoreMessageInfo(mi)
  842. }
  843. }
  844. func (x *SearchForageCategoryRequest) String() string {
  845. return protoimpl.X.MessageStringOf(x)
  846. }
  847. func (*SearchForageCategoryRequest) ProtoMessage() {}
  848. func (x *SearchForageCategoryRequest) ProtoReflect() protoreflect.Message {
  849. mi := &file_backend_operation_pasture_proto_msgTypes[13]
  850. if protoimpl.UnsafeEnabled && x != nil {
  851. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  852. if ms.LoadMessageInfo() == nil {
  853. ms.StoreMessageInfo(mi)
  854. }
  855. return ms
  856. }
  857. return mi.MessageOf(x)
  858. }
  859. // Deprecated: Use SearchForageCategoryRequest.ProtoReflect.Descriptor instead.
  860. func (*SearchForageCategoryRequest) Descriptor() ([]byte, []int) {
  861. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{13}
  862. }
  863. func (x *SearchForageCategoryRequest) GetParentName() string {
  864. if x != nil {
  865. return x.ParentName
  866. }
  867. return ""
  868. }
  869. func (x *SearchForageCategoryRequest) GetIsShow() IsShow_Kind {
  870. if x != nil {
  871. return x.IsShow
  872. }
  873. return IsShow_INVALID
  874. }
  875. func (x *SearchForageCategoryRequest) GetName() string {
  876. if x != nil {
  877. return x.Name
  878. }
  879. return ""
  880. }
  881. func (x *SearchForageCategoryRequest) GetPagination() *PaginationModel {
  882. if x != nil {
  883. return x.Pagination
  884. }
  885. return nil
  886. }
  887. type SearchForageCategoryResponse struct {
  888. state protoimpl.MessageState
  889. sizeCache protoimpl.SizeCache
  890. unknownFields protoimpl.UnknownFields
  891. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  892. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
  893. Data *SearchForageCategoryData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  894. }
  895. func (x *SearchForageCategoryResponse) Reset() {
  896. *x = SearchForageCategoryResponse{}
  897. if protoimpl.UnsafeEnabled {
  898. mi := &file_backend_operation_pasture_proto_msgTypes[14]
  899. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  900. ms.StoreMessageInfo(mi)
  901. }
  902. }
  903. func (x *SearchForageCategoryResponse) String() string {
  904. return protoimpl.X.MessageStringOf(x)
  905. }
  906. func (*SearchForageCategoryResponse) ProtoMessage() {}
  907. func (x *SearchForageCategoryResponse) ProtoReflect() protoreflect.Message {
  908. mi := &file_backend_operation_pasture_proto_msgTypes[14]
  909. if protoimpl.UnsafeEnabled && x != nil {
  910. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  911. if ms.LoadMessageInfo() == nil {
  912. ms.StoreMessageInfo(mi)
  913. }
  914. return ms
  915. }
  916. return mi.MessageOf(x)
  917. }
  918. // Deprecated: Use SearchForageCategoryResponse.ProtoReflect.Descriptor instead.
  919. func (*SearchForageCategoryResponse) Descriptor() ([]byte, []int) {
  920. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{14}
  921. }
  922. func (x *SearchForageCategoryResponse) GetCode() int64 {
  923. if x != nil {
  924. return x.Code
  925. }
  926. return 0
  927. }
  928. func (x *SearchForageCategoryResponse) GetMsg() string {
  929. if x != nil {
  930. return x.Msg
  931. }
  932. return ""
  933. }
  934. func (x *SearchForageCategoryResponse) GetData() *SearchForageCategoryData {
  935. if x != nil {
  936. return x.Data
  937. }
  938. return nil
  939. }
  940. type SearchForageCategoryData struct {
  941. state protoimpl.MessageState
  942. sizeCache protoimpl.SizeCache
  943. unknownFields protoimpl.UnknownFields
  944. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  945. Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
  946. List []*AddForageCategoryRequest `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"`
  947. }
  948. func (x *SearchForageCategoryData) Reset() {
  949. *x = SearchForageCategoryData{}
  950. if protoimpl.UnsafeEnabled {
  951. mi := &file_backend_operation_pasture_proto_msgTypes[15]
  952. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  953. ms.StoreMessageInfo(mi)
  954. }
  955. }
  956. func (x *SearchForageCategoryData) String() string {
  957. return protoimpl.X.MessageStringOf(x)
  958. }
  959. func (*SearchForageCategoryData) ProtoMessage() {}
  960. func (x *SearchForageCategoryData) ProtoReflect() protoreflect.Message {
  961. mi := &file_backend_operation_pasture_proto_msgTypes[15]
  962. if protoimpl.UnsafeEnabled && x != nil {
  963. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  964. if ms.LoadMessageInfo() == nil {
  965. ms.StoreMessageInfo(mi)
  966. }
  967. return ms
  968. }
  969. return mi.MessageOf(x)
  970. }
  971. // Deprecated: Use SearchForageCategoryData.ProtoReflect.Descriptor instead.
  972. func (*SearchForageCategoryData) Descriptor() ([]byte, []int) {
  973. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{15}
  974. }
  975. func (x *SearchForageCategoryData) GetPage() int32 {
  976. if x != nil {
  977. return x.Page
  978. }
  979. return 0
  980. }
  981. func (x *SearchForageCategoryData) GetTotal() int32 {
  982. if x != nil {
  983. return x.Total
  984. }
  985. return 0
  986. }
  987. func (x *SearchForageCategoryData) GetList() []*AddForageCategoryRequest {
  988. if x != nil {
  989. return x.List
  990. }
  991. return nil
  992. }
  993. // 饲料列表
  994. type AddForageRequest struct {
  995. state protoimpl.MessageState
  996. sizeCache protoimpl.SizeCache
  997. unknownFields protoimpl.UnknownFields
  998. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  999. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 饲料名称
  1000. CategoryId int64 `protobuf:"varint,3,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 饲料分类id
  1001. CategoryName string `protobuf:"bytes,4,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"` // 饲料分类名称
  1002. MaterialType int64 `protobuf:"varint,5,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"` // 物料类型
  1003. UniqueEncode string `protobuf:"bytes,7,opt,name=unique_encode,json=uniqueEncode,proto3" json:"unique_encode,omitempty"` // 唯一编码
  1004. ForageSourceId ForageSource_Kind `protobuf:"varint,8,opt,name=forage_source_id,json=forageSourceId,proto3,enum=backend.operation.ForageSource_Kind" json:"forage_source_id,omitempty"` // 饲料来源
  1005. PlanTypeId ForagePlanType_Kind `protobuf:"varint,9,opt,name=plan_type_id,json=planTypeId,proto3,enum=backend.operation.ForagePlanType_Kind" json:"plan_type_id,omitempty"` // 计划类型
  1006. SmallMaterialScale string `protobuf:"bytes,10,opt,name=small_material_scale,json=smallMaterialScale,proto3" json:"small_material_scale,omitempty"` // 小料称
  1007. AllowError int64 `protobuf:"varint,11,opt,name=allow_error,json=allowError,proto3" json:"allow_error,omitempty"` // 允许误差 (单位kg)
  1008. PackageWeight int64 `protobuf:"varint,12,opt,name=package_weight,json=packageWeight,proto3" json:"package_weight,omitempty"` // 包装重量 (单位kg)
  1009. Price int64 `protobuf:"varint,13,opt,name=price,proto3" json:"price,omitempty"` // 单价(单位分)
  1010. JumpWeight int64 `protobuf:"varint,14,opt,name=jump_weight,json=jumpWeight,proto3" json:"jump_weight,omitempty"` // 跳转重量域(单位kg)
  1011. JumpDelay JumpDelaType_Kind `protobuf:"varint,15,opt,name=jump_delay,json=jumpDelay,proto3,enum=backend.operation.JumpDelaType_Kind" json:"jump_delay,omitempty"` // 跳转延迟
  1012. ConfirmStart IsShow_Kind `protobuf:"varint,16,opt,name=confirm_start,json=confirmStart,proto3,enum=backend.operation.IsShow_Kind" json:"confirm_start,omitempty"` // 确认开始
  1013. RelayLocations int64 `protobuf:"varint,17,opt,name=relay_locations,json=relayLocations,proto3" json:"relay_locations,omitempty"` // 继电器位置
  1014. Jmp IsShow_Kind `protobuf:"varint,18,opt,name=jmp,proto3,enum=backend.operation.IsShow_Kind" json:"jmp,omitempty"` // 无上域
  1015. Backup1 string `protobuf:"bytes,19,opt,name=backup1,proto3" json:"backup1,omitempty"` // 备用字段1
  1016. Backup2 string `protobuf:"bytes,20,opt,name=backup2,proto3" json:"backup2,omitempty"` // 备用字段2
  1017. Backup3 string `protobuf:"bytes,21,opt,name=backup3,proto3" json:"backup3,omitempty"` // 备用字段3
  1018. CreatedAt int64 `protobuf:"varint,22,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间
  1019. CreatedAtFormat string `protobuf:"bytes,23,opt,name=created_at_format,json=createdAtFormat,proto3" json:"created_at_format,omitempty"` // 创建时间格式化
  1020. IsShow IsShow_Kind `protobuf:"varint,24,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  1021. }
  1022. func (x *AddForageRequest) Reset() {
  1023. *x = AddForageRequest{}
  1024. if protoimpl.UnsafeEnabled {
  1025. mi := &file_backend_operation_pasture_proto_msgTypes[16]
  1026. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1027. ms.StoreMessageInfo(mi)
  1028. }
  1029. }
  1030. func (x *AddForageRequest) String() string {
  1031. return protoimpl.X.MessageStringOf(x)
  1032. }
  1033. func (*AddForageRequest) ProtoMessage() {}
  1034. func (x *AddForageRequest) ProtoReflect() protoreflect.Message {
  1035. mi := &file_backend_operation_pasture_proto_msgTypes[16]
  1036. if protoimpl.UnsafeEnabled && x != nil {
  1037. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1038. if ms.LoadMessageInfo() == nil {
  1039. ms.StoreMessageInfo(mi)
  1040. }
  1041. return ms
  1042. }
  1043. return mi.MessageOf(x)
  1044. }
  1045. // Deprecated: Use AddForageRequest.ProtoReflect.Descriptor instead.
  1046. func (*AddForageRequest) Descriptor() ([]byte, []int) {
  1047. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{16}
  1048. }
  1049. func (x *AddForageRequest) GetId() int64 {
  1050. if x != nil {
  1051. return x.Id
  1052. }
  1053. return 0
  1054. }
  1055. func (x *AddForageRequest) GetName() string {
  1056. if x != nil {
  1057. return x.Name
  1058. }
  1059. return ""
  1060. }
  1061. func (x *AddForageRequest) GetCategoryId() int64 {
  1062. if x != nil {
  1063. return x.CategoryId
  1064. }
  1065. return 0
  1066. }
  1067. func (x *AddForageRequest) GetCategoryName() string {
  1068. if x != nil {
  1069. return x.CategoryName
  1070. }
  1071. return ""
  1072. }
  1073. func (x *AddForageRequest) GetMaterialType() int64 {
  1074. if x != nil {
  1075. return x.MaterialType
  1076. }
  1077. return 0
  1078. }
  1079. func (x *AddForageRequest) GetUniqueEncode() string {
  1080. if x != nil {
  1081. return x.UniqueEncode
  1082. }
  1083. return ""
  1084. }
  1085. func (x *AddForageRequest) GetForageSourceId() ForageSource_Kind {
  1086. if x != nil {
  1087. return x.ForageSourceId
  1088. }
  1089. return ForageSource_INVALID
  1090. }
  1091. func (x *AddForageRequest) GetPlanTypeId() ForagePlanType_Kind {
  1092. if x != nil {
  1093. return x.PlanTypeId
  1094. }
  1095. return ForagePlanType_INVALID
  1096. }
  1097. func (x *AddForageRequest) GetSmallMaterialScale() string {
  1098. if x != nil {
  1099. return x.SmallMaterialScale
  1100. }
  1101. return ""
  1102. }
  1103. func (x *AddForageRequest) GetAllowError() int64 {
  1104. if x != nil {
  1105. return x.AllowError
  1106. }
  1107. return 0
  1108. }
  1109. func (x *AddForageRequest) GetPackageWeight() int64 {
  1110. if x != nil {
  1111. return x.PackageWeight
  1112. }
  1113. return 0
  1114. }
  1115. func (x *AddForageRequest) GetPrice() int64 {
  1116. if x != nil {
  1117. return x.Price
  1118. }
  1119. return 0
  1120. }
  1121. func (x *AddForageRequest) GetJumpWeight() int64 {
  1122. if x != nil {
  1123. return x.JumpWeight
  1124. }
  1125. return 0
  1126. }
  1127. func (x *AddForageRequest) GetJumpDelay() JumpDelaType_Kind {
  1128. if x != nil {
  1129. return x.JumpDelay
  1130. }
  1131. return JumpDelaType_INVALID
  1132. }
  1133. func (x *AddForageRequest) GetConfirmStart() IsShow_Kind {
  1134. if x != nil {
  1135. return x.ConfirmStart
  1136. }
  1137. return IsShow_INVALID
  1138. }
  1139. func (x *AddForageRequest) GetRelayLocations() int64 {
  1140. if x != nil {
  1141. return x.RelayLocations
  1142. }
  1143. return 0
  1144. }
  1145. func (x *AddForageRequest) GetJmp() IsShow_Kind {
  1146. if x != nil {
  1147. return x.Jmp
  1148. }
  1149. return IsShow_INVALID
  1150. }
  1151. func (x *AddForageRequest) GetBackup1() string {
  1152. if x != nil {
  1153. return x.Backup1
  1154. }
  1155. return ""
  1156. }
  1157. func (x *AddForageRequest) GetBackup2() string {
  1158. if x != nil {
  1159. return x.Backup2
  1160. }
  1161. return ""
  1162. }
  1163. func (x *AddForageRequest) GetBackup3() string {
  1164. if x != nil {
  1165. return x.Backup3
  1166. }
  1167. return ""
  1168. }
  1169. func (x *AddForageRequest) GetCreatedAt() int64 {
  1170. if x != nil {
  1171. return x.CreatedAt
  1172. }
  1173. return 0
  1174. }
  1175. func (x *AddForageRequest) GetCreatedAtFormat() string {
  1176. if x != nil {
  1177. return x.CreatedAtFormat
  1178. }
  1179. return ""
  1180. }
  1181. func (x *AddForageRequest) GetIsShow() IsShow_Kind {
  1182. if x != nil {
  1183. return x.IsShow
  1184. }
  1185. return IsShow_INVALID
  1186. }
  1187. type SearchForageListRequest struct {
  1188. state protoimpl.MessageState
  1189. sizeCache protoimpl.SizeCache
  1190. unknownFields protoimpl.UnknownFields
  1191. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 饲料名称
  1192. CategoryId string `protobuf:"bytes,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 饲料分类id
  1193. ForageSourceId int64 `protobuf:"varint,3,opt,name=forage_source_id,json=forageSourceId,proto3" json:"forage_source_id,omitempty"` // 饲料来源
  1194. IsShow IsShow_Kind `protobuf:"varint,4,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"` // 是否启用
  1195. AllowError int64 `protobuf:"varint,5,opt,name=allow_error,json=allowError,proto3" json:"allow_error,omitempty"` // 允许误差
  1196. JumpWeight int64 `protobuf:"varint,6,opt,name=jump_weight,json=jumpWeight,proto3" json:"jump_weight,omitempty"` // 跳转重量域
  1197. JumpDelay JumpDelaType_Kind `protobuf:"varint,7,opt,name=jump_delay,json=jumpDelay,proto3,enum=backend.operation.JumpDelaType_Kind" json:"jump_delay,omitempty"` // 跳转延迟
  1198. Pagination *PaginationModel `protobuf:"bytes,8,opt,name=pagination,proto3" json:"pagination,omitempty"` // 分页
  1199. }
  1200. func (x *SearchForageListRequest) Reset() {
  1201. *x = SearchForageListRequest{}
  1202. if protoimpl.UnsafeEnabled {
  1203. mi := &file_backend_operation_pasture_proto_msgTypes[17]
  1204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1205. ms.StoreMessageInfo(mi)
  1206. }
  1207. }
  1208. func (x *SearchForageListRequest) String() string {
  1209. return protoimpl.X.MessageStringOf(x)
  1210. }
  1211. func (*SearchForageListRequest) ProtoMessage() {}
  1212. func (x *SearchForageListRequest) ProtoReflect() protoreflect.Message {
  1213. mi := &file_backend_operation_pasture_proto_msgTypes[17]
  1214. if protoimpl.UnsafeEnabled && x != nil {
  1215. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1216. if ms.LoadMessageInfo() == nil {
  1217. ms.StoreMessageInfo(mi)
  1218. }
  1219. return ms
  1220. }
  1221. return mi.MessageOf(x)
  1222. }
  1223. // Deprecated: Use SearchForageListRequest.ProtoReflect.Descriptor instead.
  1224. func (*SearchForageListRequest) Descriptor() ([]byte, []int) {
  1225. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{17}
  1226. }
  1227. func (x *SearchForageListRequest) GetName() string {
  1228. if x != nil {
  1229. return x.Name
  1230. }
  1231. return ""
  1232. }
  1233. func (x *SearchForageListRequest) GetCategoryId() string {
  1234. if x != nil {
  1235. return x.CategoryId
  1236. }
  1237. return ""
  1238. }
  1239. func (x *SearchForageListRequest) GetForageSourceId() int64 {
  1240. if x != nil {
  1241. return x.ForageSourceId
  1242. }
  1243. return 0
  1244. }
  1245. func (x *SearchForageListRequest) GetIsShow() IsShow_Kind {
  1246. if x != nil {
  1247. return x.IsShow
  1248. }
  1249. return IsShow_INVALID
  1250. }
  1251. func (x *SearchForageListRequest) GetAllowError() int64 {
  1252. if x != nil {
  1253. return x.AllowError
  1254. }
  1255. return 0
  1256. }
  1257. func (x *SearchForageListRequest) GetJumpWeight() int64 {
  1258. if x != nil {
  1259. return x.JumpWeight
  1260. }
  1261. return 0
  1262. }
  1263. func (x *SearchForageListRequest) GetJumpDelay() JumpDelaType_Kind {
  1264. if x != nil {
  1265. return x.JumpDelay
  1266. }
  1267. return JumpDelaType_INVALID
  1268. }
  1269. func (x *SearchForageListRequest) GetPagination() *PaginationModel {
  1270. if x != nil {
  1271. return x.Pagination
  1272. }
  1273. return nil
  1274. }
  1275. type SearchForageListResponse struct {
  1276. state protoimpl.MessageState
  1277. sizeCache protoimpl.SizeCache
  1278. unknownFields protoimpl.UnknownFields
  1279. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
  1280. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  1281. Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
  1282. List []*AddForageRequest `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
  1283. }
  1284. func (x *SearchForageListResponse) Reset() {
  1285. *x = SearchForageListResponse{}
  1286. if protoimpl.UnsafeEnabled {
  1287. mi := &file_backend_operation_pasture_proto_msgTypes[18]
  1288. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1289. ms.StoreMessageInfo(mi)
  1290. }
  1291. }
  1292. func (x *SearchForageListResponse) String() string {
  1293. return protoimpl.X.MessageStringOf(x)
  1294. }
  1295. func (*SearchForageListResponse) ProtoMessage() {}
  1296. func (x *SearchForageListResponse) ProtoReflect() protoreflect.Message {
  1297. mi := &file_backend_operation_pasture_proto_msgTypes[18]
  1298. if protoimpl.UnsafeEnabled && x != nil {
  1299. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1300. if ms.LoadMessageInfo() == nil {
  1301. ms.StoreMessageInfo(mi)
  1302. }
  1303. return ms
  1304. }
  1305. return mi.MessageOf(x)
  1306. }
  1307. // Deprecated: Use SearchForageListResponse.ProtoReflect.Descriptor instead.
  1308. func (*SearchForageListResponse) Descriptor() ([]byte, []int) {
  1309. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{18}
  1310. }
  1311. func (x *SearchForageListResponse) GetPage() int32 {
  1312. if x != nil {
  1313. return x.Page
  1314. }
  1315. return 0
  1316. }
  1317. func (x *SearchForageListResponse) GetPageSize() int32 {
  1318. if x != nil {
  1319. return x.PageSize
  1320. }
  1321. return 0
  1322. }
  1323. func (x *SearchForageListResponse) GetTotal() int32 {
  1324. if x != nil {
  1325. return x.Total
  1326. }
  1327. return 0
  1328. }
  1329. func (x *SearchForageListResponse) GetList() []*AddForageRequest {
  1330. if x != nil {
  1331. return x.List
  1332. }
  1333. return nil
  1334. }
  1335. // 是否启用
  1336. type IsShowForage struct {
  1337. state protoimpl.MessageState
  1338. sizeCache protoimpl.SizeCache
  1339. unknownFields protoimpl.UnknownFields
  1340. ForageId int64 `protobuf:"varint,1,opt,name=forage_id,json=forageId,proto3" json:"forage_id,omitempty"`
  1341. IsShow IsShow_Kind `protobuf:"varint,2,opt,name=is_show,json=isShow,proto3,enum=backend.operation.IsShow_Kind" json:"is_show,omitempty"`
  1342. }
  1343. func (x *IsShowForage) Reset() {
  1344. *x = IsShowForage{}
  1345. if protoimpl.UnsafeEnabled {
  1346. mi := &file_backend_operation_pasture_proto_msgTypes[19]
  1347. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1348. ms.StoreMessageInfo(mi)
  1349. }
  1350. }
  1351. func (x *IsShowForage) String() string {
  1352. return protoimpl.X.MessageStringOf(x)
  1353. }
  1354. func (*IsShowForage) ProtoMessage() {}
  1355. func (x *IsShowForage) ProtoReflect() protoreflect.Message {
  1356. mi := &file_backend_operation_pasture_proto_msgTypes[19]
  1357. if protoimpl.UnsafeEnabled && x != nil {
  1358. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1359. if ms.LoadMessageInfo() == nil {
  1360. ms.StoreMessageInfo(mi)
  1361. }
  1362. return ms
  1363. }
  1364. return mi.MessageOf(x)
  1365. }
  1366. // Deprecated: Use IsShowForage.ProtoReflect.Descriptor instead.
  1367. func (*IsShowForage) Descriptor() ([]byte, []int) {
  1368. return file_backend_operation_pasture_proto_rawDescGZIP(), []int{19}
  1369. }
  1370. func (x *IsShowForage) GetForageId() int64 {
  1371. if x != nil {
  1372. return x.ForageId
  1373. }
  1374. return 0
  1375. }
  1376. func (x *IsShowForage) GetIsShow() IsShow_Kind {
  1377. if x != nil {
  1378. return x.IsShow
  1379. }
  1380. return IsShow_INVALID
  1381. }
  1382. var File_backend_operation_pasture_proto protoreflect.FileDescriptor
  1383. var file_backend_operation_pasture_proto_rawDesc = []byte{
  1384. 0x0a, 0x1f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
  1385. 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1386. 0x6f, 0x12, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1387. 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70,
  1388. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6e, 0x75, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
  1389. 0x74, 0x6f, 0x1a, 0x22, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x6f, 0x70, 0x65, 0x72,
  1390. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1391. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x50, 0x61,
  1392. 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1393. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
  1394. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1395. 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
  1396. 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61,
  1397. 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  1398. 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a,
  1399. 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x05,
  1400. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x50, 0x68, 0x6f,
  1401. 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20,
  1402. 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x0a, 0x07,
  1403. 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
  1404. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1405. 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69,
  1406. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1407. 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  1408. 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
  1409. 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
  1410. 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  1411. 0x22, 0xf0, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75,
  1412. 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1413. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
  1414. 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
  1415. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72,
  1416. 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x68, 0x6f, 0x6e,
  1417. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
  1418. 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
  1419. 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
  1420. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  1421. 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
  1422. 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20,
  1423. 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1424. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1425. 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1426. 0x69, 0x6f, 0x6e, 0x22, 0x77, 0x0a, 0x15, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73,
  1427. 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04,
  1428. 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
  1429. 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d,
  1430. 0x73, 0x67, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  1431. 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1432. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75,
  1433. 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x77, 0x0a, 0x11,
  1434. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74,
  1435. 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
  1436. 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02,
  1437. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x6c,
  1438. 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1439. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64,
  1440. 0x64, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
  1441. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x55, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x74, 0x50, 0x61, 0x73,
  1442. 0x73, 0x77, 0x6f, 0x72, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75, 0x72,
  1443. 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64, 0x18,
  1444. 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49, 0x64,
  1445. 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
  1446. 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x6c, 0x0a, 0x12,
  1447. 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x61, 0x73, 0x74, 0x75,
  1448. 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x69, 0x64,
  1449. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x61, 0x73, 0x74, 0x75, 0x72, 0x65, 0x49,
  1450. 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01,
  1451. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1452. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1453. 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xc6, 0x02, 0x0a, 0x18, 0x41,
  1454. 0x64, 0x64, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  1455. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
  1456. 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e,
  1457. 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63,
  1458. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43,
  1459. 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72,
  1460. 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
  1461. 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d,
  1462. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e,
  1463. 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  1464. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65,
  1465. 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
  1466. 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
  1467. 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61,
  1468. 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64,
  1469. 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
  1470. 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
  1471. 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74,
  1472. 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01,
  1473. 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72,
  1474. 0x6d, 0x61, 0x74, 0x22, 0x7d, 0x0a, 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x61, 0x74,
  1475. 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x63,
  1476. 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69,
  1477. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43,
  1478. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f,
  1479. 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63,
  1480. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49,
  1481. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68,
  1482. 0x6f, 0x77, 0x22, 0xcf, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74,
  1483. 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
  1484. 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d,
  1485. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e,
  1486. 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02,
  1487. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1488. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e,
  1489. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04,
  1490. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1491. 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
  1492. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1493. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
  1494. 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
  1495. 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43,
  1496. 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73,
  1497. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
  1498. 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
  1499. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3f, 0x0a, 0x04, 0x64,
  1500. 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b,
  1501. 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65,
  1502. 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  1503. 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x85, 0x01, 0x0a,
  1504. 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x61, 0x74,
  1505. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67,
  1506. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
  1507. 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
  1508. 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28,
  1509. 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1510. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43,
  1511. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04,
  1512. 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc6, 0x02, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61,
  1513. 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  1514. 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
  1515. 0x64, 0x12, 0x49, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
  1516. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1517. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43,
  1518. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2e, 0x4b, 0x69,
  1519. 0x6e, 0x64, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b,
  1520. 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  1521. 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
  1522. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1523. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28,
  1524. 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f,
  1525. 0x73, 0x68, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63,
  1526. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49,
  1527. 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68,
  1528. 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
  1529. 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
  1530. 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f,
  1531. 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72,
  1532. 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x7d, 0x0a,
  1533. 0x14, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74,
  1534. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f,
  1535. 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  1536. 0x03, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  1537. 0x79, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02,
  1538. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f,
  1539. 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e,
  1540. 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xcf, 0x01, 0x0a,
  1541. 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74,
  1542. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
  1543. 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1544. 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a,
  1545. 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e,
  1546. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1547. 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06,
  1548. 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
  1549. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61,
  1550. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
  1551. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1552. 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
  1553. 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85,
  1554. 0x01, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43,
  1555. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  1556. 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63,
  1557. 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1558. 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
  1559. 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1560. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f,
  1561. 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44, 0x61, 0x74, 0x61,
  1562. 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x85, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63,
  1563. 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x44,
  1564. 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1565. 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c,
  1566. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x3f, 0x0a,
  1567. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x62, 0x61,
  1568. 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  1569. 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  1570. 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0xc8,
  1571. 0x07, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
  1572. 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  1573. 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
  1574. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67,
  1575. 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x61,
  1576. 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65,
  1577. 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
  1578. 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a,
  1579. 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
  1580. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79,
  1581. 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 0x65, 0x6e, 0x63,
  1582. 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x75, 0x6e, 0x69, 0x71, 0x75,
  1583. 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x4e, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x61, 0x67,
  1584. 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
  1585. 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1586. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72,
  1587. 0x63, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53,
  1588. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x5f,
  1589. 0x74, 0x79, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e,
  1590. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
  1591. 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65,
  1592. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49,
  1593. 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72,
  1594. 0x69, 0x61, 0x6c, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
  1595. 0x12, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x53, 0x63,
  1596. 0x61, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x72, 0x72,
  1597. 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45,
  1598. 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f,
  1599. 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x70, 0x61,
  1600. 0x63, 0x6b, 0x61, 0x67, 0x65, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70,
  1601. 0x72, 0x69, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63,
  1602. 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74,
  1603. 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x57, 0x65, 0x69, 0x67,
  1604. 0x68, 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79,
  1605. 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
  1606. 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x75, 0x6d, 0x70, 0x44,
  1607. 0x65, 0x6c, 0x61, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x6a, 0x75,
  1608. 0x6d, 0x70, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x43, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69,
  1609. 0x72, 0x6d, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e,
  1610. 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
  1611. 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0c,
  1612. 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x27, 0x0a, 0x0f,
  1613. 0x72, 0x65, 0x6c, 0x61, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
  1614. 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x4c, 0x6f, 0x63, 0x61,
  1615. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x03, 0x6a, 0x6d, 0x70, 0x18, 0x12, 0x20, 0x01,
  1616. 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65,
  1617. 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69,
  1618. 0x6e, 0x64, 0x52, 0x03, 0x6a, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75,
  1619. 0x70, 0x31, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
  1620. 0x31, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x32, 0x18, 0x14, 0x20, 0x01,
  1621. 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x32, 0x12, 0x18, 0x0a, 0x07, 0x62,
  1622. 0x61, 0x63, 0x6b, 0x75, 0x70, 0x33, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61,
  1623. 0x63, 0x6b, 0x75, 0x70, 0x33, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
  1624. 0x5f, 0x61, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
  1625. 0x65, 0x64, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
  1626. 0x61, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52,
  1627. 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74,
  1628. 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x18, 0x20, 0x01, 0x28,
  1629. 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72,
  1630. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b, 0x69, 0x6e,
  1631. 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x22, 0xfc, 0x02, 0x0a, 0x17, 0x53, 0x65,
  1632. 0x61, 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
  1633. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
  1634. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74,
  1635. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  1636. 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x6f,
  1637. 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03,
  1638. 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72,
  1639. 0x63, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18,
  1640. 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e,
  1641. 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
  1642. 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1f, 0x0a,
  1643. 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01,
  1644. 0x28, 0x03, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f,
  1645. 0x0a, 0x0b, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20,
  1646. 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
  1647. 0x43, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x07, 0x20,
  1648. 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1649. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x75, 0x6d, 0x70, 0x44, 0x65, 0x6c, 0x61,
  1650. 0x54, 0x79, 0x70, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x6a, 0x75, 0x6d, 0x70, 0x44,
  1651. 0x65, 0x6c, 0x61, 0x79, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
  1652. 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65,
  1653. 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x61, 0x67,
  1654. 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x0a, 0x70, 0x61,
  1655. 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61,
  1656. 0x72, 0x63, 0x68, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  1657. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
  1658. 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
  1659. 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
  1660. 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18,
  1661. 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x37, 0x0a, 0x04,
  1662. 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x62, 0x61, 0x63,
  1663. 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41,
  1664. 0x64, 0x64, 0x46, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
  1665. 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x0c, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x46,
  1666. 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f,
  1667. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x6f, 0x72, 0x61, 0x67, 0x65,
  1668. 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x02, 0x20,
  1669. 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70,
  1670. 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x2e, 0x4b,
  1671. 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x42, 0x0f, 0x5a, 0x0d, 0x2e,
  1672. 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72,
  1673. 0x6f, 0x74, 0x6f, 0x33,
  1674. }
  1675. var (
  1676. file_backend_operation_pasture_proto_rawDescOnce sync.Once
  1677. file_backend_operation_pasture_proto_rawDescData = file_backend_operation_pasture_proto_rawDesc
  1678. )
  1679. func file_backend_operation_pasture_proto_rawDescGZIP() []byte {
  1680. file_backend_operation_pasture_proto_rawDescOnce.Do(func() {
  1681. file_backend_operation_pasture_proto_rawDescData = protoimpl.X.CompressGZIP(file_backend_operation_pasture_proto_rawDescData)
  1682. })
  1683. return file_backend_operation_pasture_proto_rawDescData
  1684. }
  1685. var file_backend_operation_pasture_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
  1686. var file_backend_operation_pasture_proto_goTypes = []interface{}{
  1687. (*AddPastureRequest)(nil), // 0: backend.operation.AddPastureRequest
  1688. (*SearchPastureRequest)(nil), // 1: backend.operation.SearchPastureRequest
  1689. (*SearchPastureResponse)(nil), // 2: backend.operation.SearchPastureResponse
  1690. (*SearchPastureData)(nil), // 3: backend.operation.SearchPastureData
  1691. (*RestPasswordGroupPasture)(nil), // 4: backend.operation.RestPasswordGroupPasture
  1692. (*IsShowGroupPasture)(nil), // 5: backend.operation.IsShowGroupPasture
  1693. (*AddCattleCategoryRequest)(nil), // 6: backend.operation.AddCattleCategoryRequest
  1694. (*IsShowCattleCategory)(nil), // 7: backend.operation.IsShowCattleCategory
  1695. (*SearchCattleCategoryRequest)(nil), // 8: backend.operation.SearchCattleCategoryRequest
  1696. (*SearchCattleCategoryResponse)(nil), // 9: backend.operation.SearchCattleCategoryResponse
  1697. (*SearchCattleCategoryData)(nil), // 10: backend.operation.SearchCattleCategoryData
  1698. (*AddForageCategoryRequest)(nil), // 11: backend.operation.AddForageCategoryRequest
  1699. (*IsShowForageCategory)(nil), // 12: backend.operation.IsShowForageCategory
  1700. (*SearchForageCategoryRequest)(nil), // 13: backend.operation.SearchForageCategoryRequest
  1701. (*SearchForageCategoryResponse)(nil), // 14: backend.operation.SearchForageCategoryResponse
  1702. (*SearchForageCategoryData)(nil), // 15: backend.operation.SearchForageCategoryData
  1703. (*AddForageRequest)(nil), // 16: backend.operation.AddForageRequest
  1704. (*SearchForageListRequest)(nil), // 17: backend.operation.SearchForageListRequest
  1705. (*SearchForageListResponse)(nil), // 18: backend.operation.SearchForageListResponse
  1706. (*IsShowForage)(nil), // 19: backend.operation.IsShowForage
  1707. (IsShow_Kind)(0), // 20: backend.operation.IsShow.Kind
  1708. (*PaginationModel)(nil), // 21: backend.operation.PaginationModel
  1709. (CattleCategoryParent_Kind)(0), // 22: backend.operation.CattleCategoryParent.Kind
  1710. (ForageCategoryParent_Kind)(0), // 23: backend.operation.ForageCategoryParent.Kind
  1711. (ForageSource_Kind)(0), // 24: backend.operation.ForageSource.Kind
  1712. (ForagePlanType_Kind)(0), // 25: backend.operation.ForagePlanType.Kind
  1713. (JumpDelaType_Kind)(0), // 26: backend.operation.JumpDelaType.Kind
  1714. }
  1715. var file_backend_operation_pasture_proto_depIdxs = []int32{
  1716. 20, // 0: backend.operation.AddPastureRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1717. 21, // 1: backend.operation.SearchPastureRequest.pagination:type_name -> backend.operation.PaginationModel
  1718. 3, // 2: backend.operation.SearchPastureResponse.data:type_name -> backend.operation.SearchPastureData
  1719. 0, // 3: backend.operation.SearchPastureData.list:type_name -> backend.operation.AddPastureRequest
  1720. 20, // 4: backend.operation.IsShowGroupPasture.is_show:type_name -> backend.operation.IsShow.Kind
  1721. 22, // 5: backend.operation.AddCattleCategoryRequest.parent_id:type_name -> backend.operation.CattleCategoryParent.Kind
  1722. 20, // 6: backend.operation.AddCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1723. 20, // 7: backend.operation.IsShowCattleCategory.is_show:type_name -> backend.operation.IsShow.Kind
  1724. 20, // 8: backend.operation.SearchCattleCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1725. 21, // 9: backend.operation.SearchCattleCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
  1726. 10, // 10: backend.operation.SearchCattleCategoryResponse.data:type_name -> backend.operation.SearchCattleCategoryData
  1727. 6, // 11: backend.operation.SearchCattleCategoryData.list:type_name -> backend.operation.AddCattleCategoryRequest
  1728. 23, // 12: backend.operation.AddForageCategoryRequest.parent_id:type_name -> backend.operation.ForageCategoryParent.Kind
  1729. 20, // 13: backend.operation.AddForageCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1730. 20, // 14: backend.operation.IsShowForageCategory.is_show:type_name -> backend.operation.IsShow.Kind
  1731. 20, // 15: backend.operation.SearchForageCategoryRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1732. 21, // 16: backend.operation.SearchForageCategoryRequest.pagination:type_name -> backend.operation.PaginationModel
  1733. 15, // 17: backend.operation.SearchForageCategoryResponse.data:type_name -> backend.operation.SearchForageCategoryData
  1734. 11, // 18: backend.operation.SearchForageCategoryData.list:type_name -> backend.operation.AddForageCategoryRequest
  1735. 24, // 19: backend.operation.AddForageRequest.forage_source_id:type_name -> backend.operation.ForageSource.Kind
  1736. 25, // 20: backend.operation.AddForageRequest.plan_type_id:type_name -> backend.operation.ForagePlanType.Kind
  1737. 26, // 21: backend.operation.AddForageRequest.jump_delay:type_name -> backend.operation.JumpDelaType.Kind
  1738. 20, // 22: backend.operation.AddForageRequest.confirm_start:type_name -> backend.operation.IsShow.Kind
  1739. 20, // 23: backend.operation.AddForageRequest.jmp:type_name -> backend.operation.IsShow.Kind
  1740. 20, // 24: backend.operation.AddForageRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1741. 20, // 25: backend.operation.SearchForageListRequest.is_show:type_name -> backend.operation.IsShow.Kind
  1742. 26, // 26: backend.operation.SearchForageListRequest.jump_delay:type_name -> backend.operation.JumpDelaType.Kind
  1743. 21, // 27: backend.operation.SearchForageListRequest.pagination:type_name -> backend.operation.PaginationModel
  1744. 16, // 28: backend.operation.SearchForageListResponse.list:type_name -> backend.operation.AddForageRequest
  1745. 20, // 29: backend.operation.IsShowForage.is_show:type_name -> backend.operation.IsShow.Kind
  1746. 30, // [30:30] is the sub-list for method output_type
  1747. 30, // [30:30] is the sub-list for method input_type
  1748. 30, // [30:30] is the sub-list for extension type_name
  1749. 30, // [30:30] is the sub-list for extension extendee
  1750. 0, // [0:30] is the sub-list for field type_name
  1751. }
  1752. func init() { file_backend_operation_pasture_proto_init() }
  1753. func file_backend_operation_pasture_proto_init() {
  1754. if File_backend_operation_pasture_proto != nil {
  1755. return
  1756. }
  1757. file_backend_operation_enum_proto_init()
  1758. file_backend_operation_pagination_proto_init()
  1759. if !protoimpl.UnsafeEnabled {
  1760. file_backend_operation_pasture_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1761. switch v := v.(*AddPastureRequest); i {
  1762. case 0:
  1763. return &v.state
  1764. case 1:
  1765. return &v.sizeCache
  1766. case 2:
  1767. return &v.unknownFields
  1768. default:
  1769. return nil
  1770. }
  1771. }
  1772. file_backend_operation_pasture_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1773. switch v := v.(*SearchPastureRequest); i {
  1774. case 0:
  1775. return &v.state
  1776. case 1:
  1777. return &v.sizeCache
  1778. case 2:
  1779. return &v.unknownFields
  1780. default:
  1781. return nil
  1782. }
  1783. }
  1784. file_backend_operation_pasture_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1785. switch v := v.(*SearchPastureResponse); i {
  1786. case 0:
  1787. return &v.state
  1788. case 1:
  1789. return &v.sizeCache
  1790. case 2:
  1791. return &v.unknownFields
  1792. default:
  1793. return nil
  1794. }
  1795. }
  1796. file_backend_operation_pasture_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1797. switch v := v.(*SearchPastureData); i {
  1798. case 0:
  1799. return &v.state
  1800. case 1:
  1801. return &v.sizeCache
  1802. case 2:
  1803. return &v.unknownFields
  1804. default:
  1805. return nil
  1806. }
  1807. }
  1808. file_backend_operation_pasture_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1809. switch v := v.(*RestPasswordGroupPasture); i {
  1810. case 0:
  1811. return &v.state
  1812. case 1:
  1813. return &v.sizeCache
  1814. case 2:
  1815. return &v.unknownFields
  1816. default:
  1817. return nil
  1818. }
  1819. }
  1820. file_backend_operation_pasture_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1821. switch v := v.(*IsShowGroupPasture); i {
  1822. case 0:
  1823. return &v.state
  1824. case 1:
  1825. return &v.sizeCache
  1826. case 2:
  1827. return &v.unknownFields
  1828. default:
  1829. return nil
  1830. }
  1831. }
  1832. file_backend_operation_pasture_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1833. switch v := v.(*AddCattleCategoryRequest); i {
  1834. case 0:
  1835. return &v.state
  1836. case 1:
  1837. return &v.sizeCache
  1838. case 2:
  1839. return &v.unknownFields
  1840. default:
  1841. return nil
  1842. }
  1843. }
  1844. file_backend_operation_pasture_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1845. switch v := v.(*IsShowCattleCategory); i {
  1846. case 0:
  1847. return &v.state
  1848. case 1:
  1849. return &v.sizeCache
  1850. case 2:
  1851. return &v.unknownFields
  1852. default:
  1853. return nil
  1854. }
  1855. }
  1856. file_backend_operation_pasture_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1857. switch v := v.(*SearchCattleCategoryRequest); i {
  1858. case 0:
  1859. return &v.state
  1860. case 1:
  1861. return &v.sizeCache
  1862. case 2:
  1863. return &v.unknownFields
  1864. default:
  1865. return nil
  1866. }
  1867. }
  1868. file_backend_operation_pasture_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1869. switch v := v.(*SearchCattleCategoryResponse); i {
  1870. case 0:
  1871. return &v.state
  1872. case 1:
  1873. return &v.sizeCache
  1874. case 2:
  1875. return &v.unknownFields
  1876. default:
  1877. return nil
  1878. }
  1879. }
  1880. file_backend_operation_pasture_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  1881. switch v := v.(*SearchCattleCategoryData); i {
  1882. case 0:
  1883. return &v.state
  1884. case 1:
  1885. return &v.sizeCache
  1886. case 2:
  1887. return &v.unknownFields
  1888. default:
  1889. return nil
  1890. }
  1891. }
  1892. file_backend_operation_pasture_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  1893. switch v := v.(*AddForageCategoryRequest); i {
  1894. case 0:
  1895. return &v.state
  1896. case 1:
  1897. return &v.sizeCache
  1898. case 2:
  1899. return &v.unknownFields
  1900. default:
  1901. return nil
  1902. }
  1903. }
  1904. file_backend_operation_pasture_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  1905. switch v := v.(*IsShowForageCategory); i {
  1906. case 0:
  1907. return &v.state
  1908. case 1:
  1909. return &v.sizeCache
  1910. case 2:
  1911. return &v.unknownFields
  1912. default:
  1913. return nil
  1914. }
  1915. }
  1916. file_backend_operation_pasture_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  1917. switch v := v.(*SearchForageCategoryRequest); i {
  1918. case 0:
  1919. return &v.state
  1920. case 1:
  1921. return &v.sizeCache
  1922. case 2:
  1923. return &v.unknownFields
  1924. default:
  1925. return nil
  1926. }
  1927. }
  1928. file_backend_operation_pasture_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  1929. switch v := v.(*SearchForageCategoryResponse); i {
  1930. case 0:
  1931. return &v.state
  1932. case 1:
  1933. return &v.sizeCache
  1934. case 2:
  1935. return &v.unknownFields
  1936. default:
  1937. return nil
  1938. }
  1939. }
  1940. file_backend_operation_pasture_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  1941. switch v := v.(*SearchForageCategoryData); i {
  1942. case 0:
  1943. return &v.state
  1944. case 1:
  1945. return &v.sizeCache
  1946. case 2:
  1947. return &v.unknownFields
  1948. default:
  1949. return nil
  1950. }
  1951. }
  1952. file_backend_operation_pasture_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  1953. switch v := v.(*AddForageRequest); i {
  1954. case 0:
  1955. return &v.state
  1956. case 1:
  1957. return &v.sizeCache
  1958. case 2:
  1959. return &v.unknownFields
  1960. default:
  1961. return nil
  1962. }
  1963. }
  1964. file_backend_operation_pasture_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  1965. switch v := v.(*SearchForageListRequest); i {
  1966. case 0:
  1967. return &v.state
  1968. case 1:
  1969. return &v.sizeCache
  1970. case 2:
  1971. return &v.unknownFields
  1972. default:
  1973. return nil
  1974. }
  1975. }
  1976. file_backend_operation_pasture_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  1977. switch v := v.(*SearchForageListResponse); i {
  1978. case 0:
  1979. return &v.state
  1980. case 1:
  1981. return &v.sizeCache
  1982. case 2:
  1983. return &v.unknownFields
  1984. default:
  1985. return nil
  1986. }
  1987. }
  1988. file_backend_operation_pasture_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  1989. switch v := v.(*IsShowForage); i {
  1990. case 0:
  1991. return &v.state
  1992. case 1:
  1993. return &v.sizeCache
  1994. case 2:
  1995. return &v.unknownFields
  1996. default:
  1997. return nil
  1998. }
  1999. }
  2000. }
  2001. type x struct{}
  2002. out := protoimpl.TypeBuilder{
  2003. File: protoimpl.DescBuilder{
  2004. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  2005. RawDescriptor: file_backend_operation_pasture_proto_rawDesc,
  2006. NumEnums: 0,
  2007. NumMessages: 20,
  2008. NumExtensions: 0,
  2009. NumServices: 0,
  2010. },
  2011. GoTypes: file_backend_operation_pasture_proto_goTypes,
  2012. DependencyIndexes: file_backend_operation_pasture_proto_depIdxs,
  2013. MessageInfos: file_backend_operation_pasture_proto_msgTypes,
  2014. }.Build()
  2015. File_backend_operation_pasture_proto = out.File
  2016. file_backend_operation_pasture_proto_rawDesc = nil
  2017. file_backend_operation_pasture_proto_goTypes = nil
  2018. file_backend_operation_pasture_proto_depIdxs = nil
  2019. }