park.pb.go 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: park.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type ParkAddRequest struct {
  20. ParkNumber string `protobuf:"bytes,1,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  21. ParkName string `protobuf:"bytes,2,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  22. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  23. GardenId int64 `protobuf:"varint,4,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  24. ParkType int32 `protobuf:"varint,5,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *ParkAddRequest) Reset() { *m = ParkAddRequest{} }
  30. func (m *ParkAddRequest) String() string { return proto.CompactTextString(m) }
  31. func (*ParkAddRequest) ProtoMessage() {}
  32. func (*ParkAddRequest) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_1e1e7f6a041ccf05, []int{0}
  34. }
  35. func (m *ParkAddRequest) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_ParkAddRequest.Unmarshal(m, b)
  37. }
  38. func (m *ParkAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_ParkAddRequest.Marshal(b, m, deterministic)
  40. }
  41. func (m *ParkAddRequest) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_ParkAddRequest.Merge(m, src)
  43. }
  44. func (m *ParkAddRequest) XXX_Size() int {
  45. return xxx_messageInfo_ParkAddRequest.Size(m)
  46. }
  47. func (m *ParkAddRequest) XXX_DiscardUnknown() {
  48. xxx_messageInfo_ParkAddRequest.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_ParkAddRequest proto.InternalMessageInfo
  51. func (m *ParkAddRequest) GetParkNumber() string {
  52. if m != nil {
  53. return m.ParkNumber
  54. }
  55. return ""
  56. }
  57. func (m *ParkAddRequest) GetParkName() string {
  58. if m != nil {
  59. return m.ParkName
  60. }
  61. return ""
  62. }
  63. func (m *ParkAddRequest) GetComment() string {
  64. if m != nil {
  65. return m.Comment
  66. }
  67. return ""
  68. }
  69. func (m *ParkAddRequest) GetGardenId() int64 {
  70. if m != nil {
  71. return m.GardenId
  72. }
  73. return 0
  74. }
  75. func (m *ParkAddRequest) GetParkType() int32 {
  76. if m != nil {
  77. return m.ParkType
  78. }
  79. return 0
  80. }
  81. type ParkAddReply struct {
  82. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  83. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  84. XXX_unrecognized []byte `json:"-"`
  85. XXX_sizecache int32 `json:"-"`
  86. }
  87. func (m *ParkAddReply) Reset() { *m = ParkAddReply{} }
  88. func (m *ParkAddReply) String() string { return proto.CompactTextString(m) }
  89. func (*ParkAddReply) ProtoMessage() {}
  90. func (*ParkAddReply) Descriptor() ([]byte, []int) {
  91. return fileDescriptor_1e1e7f6a041ccf05, []int{1}
  92. }
  93. func (m *ParkAddReply) XXX_Unmarshal(b []byte) error {
  94. return xxx_messageInfo_ParkAddReply.Unmarshal(m, b)
  95. }
  96. func (m *ParkAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  97. return xxx_messageInfo_ParkAddReply.Marshal(b, m, deterministic)
  98. }
  99. func (m *ParkAddReply) XXX_Merge(src proto.Message) {
  100. xxx_messageInfo_ParkAddReply.Merge(m, src)
  101. }
  102. func (m *ParkAddReply) XXX_Size() int {
  103. return xxx_messageInfo_ParkAddReply.Size(m)
  104. }
  105. func (m *ParkAddReply) XXX_DiscardUnknown() {
  106. xxx_messageInfo_ParkAddReply.DiscardUnknown(m)
  107. }
  108. var xxx_messageInfo_ParkAddReply proto.InternalMessageInfo
  109. func (m *ParkAddReply) GetId() int64 {
  110. if m != nil {
  111. return m.Id
  112. }
  113. return 0
  114. }
  115. type ParkUpdateRequest struct {
  116. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  117. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  118. ParkNumber string `protobuf:"bytes,3,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  119. ParkName string `protobuf:"bytes,4,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  120. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"`
  121. ParkType int32 `protobuf:"varint,6,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  122. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  123. XXX_unrecognized []byte `json:"-"`
  124. XXX_sizecache int32 `json:"-"`
  125. }
  126. func (m *ParkUpdateRequest) Reset() { *m = ParkUpdateRequest{} }
  127. func (m *ParkUpdateRequest) String() string { return proto.CompactTextString(m) }
  128. func (*ParkUpdateRequest) ProtoMessage() {}
  129. func (*ParkUpdateRequest) Descriptor() ([]byte, []int) {
  130. return fileDescriptor_1e1e7f6a041ccf05, []int{2}
  131. }
  132. func (m *ParkUpdateRequest) XXX_Unmarshal(b []byte) error {
  133. return xxx_messageInfo_ParkUpdateRequest.Unmarshal(m, b)
  134. }
  135. func (m *ParkUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  136. return xxx_messageInfo_ParkUpdateRequest.Marshal(b, m, deterministic)
  137. }
  138. func (m *ParkUpdateRequest) XXX_Merge(src proto.Message) {
  139. xxx_messageInfo_ParkUpdateRequest.Merge(m, src)
  140. }
  141. func (m *ParkUpdateRequest) XXX_Size() int {
  142. return xxx_messageInfo_ParkUpdateRequest.Size(m)
  143. }
  144. func (m *ParkUpdateRequest) XXX_DiscardUnknown() {
  145. xxx_messageInfo_ParkUpdateRequest.DiscardUnknown(m)
  146. }
  147. var xxx_messageInfo_ParkUpdateRequest proto.InternalMessageInfo
  148. func (m *ParkUpdateRequest) GetId() int64 {
  149. if m != nil {
  150. return m.Id
  151. }
  152. return 0
  153. }
  154. func (m *ParkUpdateRequest) GetGardenId() int64 {
  155. if m != nil {
  156. return m.GardenId
  157. }
  158. return 0
  159. }
  160. func (m *ParkUpdateRequest) GetParkNumber() string {
  161. if m != nil {
  162. return m.ParkNumber
  163. }
  164. return ""
  165. }
  166. func (m *ParkUpdateRequest) GetParkName() string {
  167. if m != nil {
  168. return m.ParkName
  169. }
  170. return ""
  171. }
  172. func (m *ParkUpdateRequest) GetComment() string {
  173. if m != nil {
  174. return m.Comment
  175. }
  176. return ""
  177. }
  178. func (m *ParkUpdateRequest) GetParkType() int32 {
  179. if m != nil {
  180. return m.ParkType
  181. }
  182. return 0
  183. }
  184. type ParkUpdateReply struct {
  185. Origin *ParkUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  186. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  187. XXX_unrecognized []byte `json:"-"`
  188. XXX_sizecache int32 `json:"-"`
  189. }
  190. func (m *ParkUpdateReply) Reset() { *m = ParkUpdateReply{} }
  191. func (m *ParkUpdateReply) String() string { return proto.CompactTextString(m) }
  192. func (*ParkUpdateReply) ProtoMessage() {}
  193. func (*ParkUpdateReply) Descriptor() ([]byte, []int) {
  194. return fileDescriptor_1e1e7f6a041ccf05, []int{3}
  195. }
  196. func (m *ParkUpdateReply) XXX_Unmarshal(b []byte) error {
  197. return xxx_messageInfo_ParkUpdateReply.Unmarshal(m, b)
  198. }
  199. func (m *ParkUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  200. return xxx_messageInfo_ParkUpdateReply.Marshal(b, m, deterministic)
  201. }
  202. func (m *ParkUpdateReply) XXX_Merge(src proto.Message) {
  203. xxx_messageInfo_ParkUpdateReply.Merge(m, src)
  204. }
  205. func (m *ParkUpdateReply) XXX_Size() int {
  206. return xxx_messageInfo_ParkUpdateReply.Size(m)
  207. }
  208. func (m *ParkUpdateReply) XXX_DiscardUnknown() {
  209. xxx_messageInfo_ParkUpdateReply.DiscardUnknown(m)
  210. }
  211. var xxx_messageInfo_ParkUpdateReply proto.InternalMessageInfo
  212. func (m *ParkUpdateReply) GetOrigin() *ParkUpdateRequest {
  213. if m != nil {
  214. return m.Origin
  215. }
  216. return nil
  217. }
  218. type ParkDelRequest struct {
  219. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  220. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  221. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  222. XXX_unrecognized []byte `json:"-"`
  223. XXX_sizecache int32 `json:"-"`
  224. }
  225. func (m *ParkDelRequest) Reset() { *m = ParkDelRequest{} }
  226. func (m *ParkDelRequest) String() string { return proto.CompactTextString(m) }
  227. func (*ParkDelRequest) ProtoMessage() {}
  228. func (*ParkDelRequest) Descriptor() ([]byte, []int) {
  229. return fileDescriptor_1e1e7f6a041ccf05, []int{4}
  230. }
  231. func (m *ParkDelRequest) XXX_Unmarshal(b []byte) error {
  232. return xxx_messageInfo_ParkDelRequest.Unmarshal(m, b)
  233. }
  234. func (m *ParkDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  235. return xxx_messageInfo_ParkDelRequest.Marshal(b, m, deterministic)
  236. }
  237. func (m *ParkDelRequest) XXX_Merge(src proto.Message) {
  238. xxx_messageInfo_ParkDelRequest.Merge(m, src)
  239. }
  240. func (m *ParkDelRequest) XXX_Size() int {
  241. return xxx_messageInfo_ParkDelRequest.Size(m)
  242. }
  243. func (m *ParkDelRequest) XXX_DiscardUnknown() {
  244. xxx_messageInfo_ParkDelRequest.DiscardUnknown(m)
  245. }
  246. var xxx_messageInfo_ParkDelRequest proto.InternalMessageInfo
  247. func (m *ParkDelRequest) GetId() int64 {
  248. if m != nil {
  249. return m.Id
  250. }
  251. return 0
  252. }
  253. func (m *ParkDelRequest) GetGardenId() int64 {
  254. if m != nil {
  255. return m.GardenId
  256. }
  257. return 0
  258. }
  259. type ParkDelReply struct {
  260. Origin *ParkUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  261. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  262. XXX_unrecognized []byte `json:"-"`
  263. XXX_sizecache int32 `json:"-"`
  264. }
  265. func (m *ParkDelReply) Reset() { *m = ParkDelReply{} }
  266. func (m *ParkDelReply) String() string { return proto.CompactTextString(m) }
  267. func (*ParkDelReply) ProtoMessage() {}
  268. func (*ParkDelReply) Descriptor() ([]byte, []int) {
  269. return fileDescriptor_1e1e7f6a041ccf05, []int{5}
  270. }
  271. func (m *ParkDelReply) XXX_Unmarshal(b []byte) error {
  272. return xxx_messageInfo_ParkDelReply.Unmarshal(m, b)
  273. }
  274. func (m *ParkDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  275. return xxx_messageInfo_ParkDelReply.Marshal(b, m, deterministic)
  276. }
  277. func (m *ParkDelReply) XXX_Merge(src proto.Message) {
  278. xxx_messageInfo_ParkDelReply.Merge(m, src)
  279. }
  280. func (m *ParkDelReply) XXX_Size() int {
  281. return xxx_messageInfo_ParkDelReply.Size(m)
  282. }
  283. func (m *ParkDelReply) XXX_DiscardUnknown() {
  284. xxx_messageInfo_ParkDelReply.DiscardUnknown(m)
  285. }
  286. var xxx_messageInfo_ParkDelReply proto.InternalMessageInfo
  287. func (m *ParkDelReply) GetOrigin() *ParkUpdateRequest {
  288. if m != nil {
  289. return m.Origin
  290. }
  291. return nil
  292. }
  293. type ParkListRequest struct {
  294. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  295. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  296. XXX_unrecognized []byte `json:"-"`
  297. XXX_sizecache int32 `json:"-"`
  298. }
  299. func (m *ParkListRequest) Reset() { *m = ParkListRequest{} }
  300. func (m *ParkListRequest) String() string { return proto.CompactTextString(m) }
  301. func (*ParkListRequest) ProtoMessage() {}
  302. func (*ParkListRequest) Descriptor() ([]byte, []int) {
  303. return fileDescriptor_1e1e7f6a041ccf05, []int{6}
  304. }
  305. func (m *ParkListRequest) XXX_Unmarshal(b []byte) error {
  306. return xxx_messageInfo_ParkListRequest.Unmarshal(m, b)
  307. }
  308. func (m *ParkListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  309. return xxx_messageInfo_ParkListRequest.Marshal(b, m, deterministic)
  310. }
  311. func (m *ParkListRequest) XXX_Merge(src proto.Message) {
  312. xxx_messageInfo_ParkListRequest.Merge(m, src)
  313. }
  314. func (m *ParkListRequest) XXX_Size() int {
  315. return xxx_messageInfo_ParkListRequest.Size(m)
  316. }
  317. func (m *ParkListRequest) XXX_DiscardUnknown() {
  318. xxx_messageInfo_ParkListRequest.DiscardUnknown(m)
  319. }
  320. var xxx_messageInfo_ParkListRequest proto.InternalMessageInfo
  321. func (m *ParkListRequest) GetGardenId() int64 {
  322. if m != nil {
  323. return m.GardenId
  324. }
  325. return 0
  326. }
  327. type ParkItem struct {
  328. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  329. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  330. ParkNumber string `protobuf:"bytes,3,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  331. ParkName string `protobuf:"bytes,4,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  332. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"`
  333. SpaceCount int64 `protobuf:"varint,6,opt,name=space_count,json=spaceCount,proto3" json:"space_count"`
  334. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  335. ParkType int32 `protobuf:"varint,8,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  336. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  337. XXX_unrecognized []byte `json:"-"`
  338. XXX_sizecache int32 `json:"-"`
  339. }
  340. func (m *ParkItem) Reset() { *m = ParkItem{} }
  341. func (m *ParkItem) String() string { return proto.CompactTextString(m) }
  342. func (*ParkItem) ProtoMessage() {}
  343. func (*ParkItem) Descriptor() ([]byte, []int) {
  344. return fileDescriptor_1e1e7f6a041ccf05, []int{7}
  345. }
  346. func (m *ParkItem) XXX_Unmarshal(b []byte) error {
  347. return xxx_messageInfo_ParkItem.Unmarshal(m, b)
  348. }
  349. func (m *ParkItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  350. return xxx_messageInfo_ParkItem.Marshal(b, m, deterministic)
  351. }
  352. func (m *ParkItem) XXX_Merge(src proto.Message) {
  353. xxx_messageInfo_ParkItem.Merge(m, src)
  354. }
  355. func (m *ParkItem) XXX_Size() int {
  356. return xxx_messageInfo_ParkItem.Size(m)
  357. }
  358. func (m *ParkItem) XXX_DiscardUnknown() {
  359. xxx_messageInfo_ParkItem.DiscardUnknown(m)
  360. }
  361. var xxx_messageInfo_ParkItem proto.InternalMessageInfo
  362. func (m *ParkItem) GetId() int64 {
  363. if m != nil {
  364. return m.Id
  365. }
  366. return 0
  367. }
  368. func (m *ParkItem) GetGardenId() int64 {
  369. if m != nil {
  370. return m.GardenId
  371. }
  372. return 0
  373. }
  374. func (m *ParkItem) GetParkNumber() string {
  375. if m != nil {
  376. return m.ParkNumber
  377. }
  378. return ""
  379. }
  380. func (m *ParkItem) GetParkName() string {
  381. if m != nil {
  382. return m.ParkName
  383. }
  384. return ""
  385. }
  386. func (m *ParkItem) GetComment() string {
  387. if m != nil {
  388. return m.Comment
  389. }
  390. return ""
  391. }
  392. func (m *ParkItem) GetSpaceCount() int64 {
  393. if m != nil {
  394. return m.SpaceCount
  395. }
  396. return 0
  397. }
  398. func (m *ParkItem) GetCreatedAt() string {
  399. if m != nil {
  400. return m.CreatedAt
  401. }
  402. return ""
  403. }
  404. func (m *ParkItem) GetParkType() int32 {
  405. if m != nil {
  406. return m.ParkType
  407. }
  408. return 0
  409. }
  410. type ParkListReply struct {
  411. List []*ParkItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  412. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  413. XXX_unrecognized []byte `json:"-"`
  414. XXX_sizecache int32 `json:"-"`
  415. }
  416. func (m *ParkListReply) Reset() { *m = ParkListReply{} }
  417. func (m *ParkListReply) String() string { return proto.CompactTextString(m) }
  418. func (*ParkListReply) ProtoMessage() {}
  419. func (*ParkListReply) Descriptor() ([]byte, []int) {
  420. return fileDescriptor_1e1e7f6a041ccf05, []int{8}
  421. }
  422. func (m *ParkListReply) XXX_Unmarshal(b []byte) error {
  423. return xxx_messageInfo_ParkListReply.Unmarshal(m, b)
  424. }
  425. func (m *ParkListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  426. return xxx_messageInfo_ParkListReply.Marshal(b, m, deterministic)
  427. }
  428. func (m *ParkListReply) XXX_Merge(src proto.Message) {
  429. xxx_messageInfo_ParkListReply.Merge(m, src)
  430. }
  431. func (m *ParkListReply) XXX_Size() int {
  432. return xxx_messageInfo_ParkListReply.Size(m)
  433. }
  434. func (m *ParkListReply) XXX_DiscardUnknown() {
  435. xxx_messageInfo_ParkListReply.DiscardUnknown(m)
  436. }
  437. var xxx_messageInfo_ParkListReply proto.InternalMessageInfo
  438. func (m *ParkListReply) GetList() []*ParkItem {
  439. if m != nil {
  440. return m.List
  441. }
  442. return nil
  443. }
  444. type ParkSpaceAddRequest struct {
  445. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  446. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  447. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  448. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  449. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  450. GardenId int64 `protobuf:"varint,6,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  451. HouseId int64 `protobuf:"varint,7,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  452. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  453. XXX_unrecognized []byte `json:"-"`
  454. XXX_sizecache int32 `json:"-"`
  455. }
  456. func (m *ParkSpaceAddRequest) Reset() { *m = ParkSpaceAddRequest{} }
  457. func (m *ParkSpaceAddRequest) String() string { return proto.CompactTextString(m) }
  458. func (*ParkSpaceAddRequest) ProtoMessage() {}
  459. func (*ParkSpaceAddRequest) Descriptor() ([]byte, []int) {
  460. return fileDescriptor_1e1e7f6a041ccf05, []int{9}
  461. }
  462. func (m *ParkSpaceAddRequest) XXX_Unmarshal(b []byte) error {
  463. return xxx_messageInfo_ParkSpaceAddRequest.Unmarshal(m, b)
  464. }
  465. func (m *ParkSpaceAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  466. return xxx_messageInfo_ParkSpaceAddRequest.Marshal(b, m, deterministic)
  467. }
  468. func (m *ParkSpaceAddRequest) XXX_Merge(src proto.Message) {
  469. xxx_messageInfo_ParkSpaceAddRequest.Merge(m, src)
  470. }
  471. func (m *ParkSpaceAddRequest) XXX_Size() int {
  472. return xxx_messageInfo_ParkSpaceAddRequest.Size(m)
  473. }
  474. func (m *ParkSpaceAddRequest) XXX_DiscardUnknown() {
  475. xxx_messageInfo_ParkSpaceAddRequest.DiscardUnknown(m)
  476. }
  477. var xxx_messageInfo_ParkSpaceAddRequest proto.InternalMessageInfo
  478. func (m *ParkSpaceAddRequest) GetSpaceNumber() string {
  479. if m != nil {
  480. return m.SpaceNumber
  481. }
  482. return ""
  483. }
  484. func (m *ParkSpaceAddRequest) GetSpaceArea() float64 {
  485. if m != nil {
  486. return m.SpaceArea
  487. }
  488. return 0
  489. }
  490. func (m *ParkSpaceAddRequest) GetComment() string {
  491. if m != nil {
  492. return m.Comment
  493. }
  494. return ""
  495. }
  496. func (m *ParkSpaceAddRequest) GetParkId() int64 {
  497. if m != nil {
  498. return m.ParkId
  499. }
  500. return 0
  501. }
  502. func (m *ParkSpaceAddRequest) GetSpaceType() int32 {
  503. if m != nil {
  504. return m.SpaceType
  505. }
  506. return 0
  507. }
  508. func (m *ParkSpaceAddRequest) GetGardenId() int64 {
  509. if m != nil {
  510. return m.GardenId
  511. }
  512. return 0
  513. }
  514. func (m *ParkSpaceAddRequest) GetHouseId() int64 {
  515. if m != nil {
  516. return m.HouseId
  517. }
  518. return 0
  519. }
  520. type ParkSpaceAddReply struct {
  521. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  522. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  523. XXX_unrecognized []byte `json:"-"`
  524. XXX_sizecache int32 `json:"-"`
  525. }
  526. func (m *ParkSpaceAddReply) Reset() { *m = ParkSpaceAddReply{} }
  527. func (m *ParkSpaceAddReply) String() string { return proto.CompactTextString(m) }
  528. func (*ParkSpaceAddReply) ProtoMessage() {}
  529. func (*ParkSpaceAddReply) Descriptor() ([]byte, []int) {
  530. return fileDescriptor_1e1e7f6a041ccf05, []int{10}
  531. }
  532. func (m *ParkSpaceAddReply) XXX_Unmarshal(b []byte) error {
  533. return xxx_messageInfo_ParkSpaceAddReply.Unmarshal(m, b)
  534. }
  535. func (m *ParkSpaceAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  536. return xxx_messageInfo_ParkSpaceAddReply.Marshal(b, m, deterministic)
  537. }
  538. func (m *ParkSpaceAddReply) XXX_Merge(src proto.Message) {
  539. xxx_messageInfo_ParkSpaceAddReply.Merge(m, src)
  540. }
  541. func (m *ParkSpaceAddReply) XXX_Size() int {
  542. return xxx_messageInfo_ParkSpaceAddReply.Size(m)
  543. }
  544. func (m *ParkSpaceAddReply) XXX_DiscardUnknown() {
  545. xxx_messageInfo_ParkSpaceAddReply.DiscardUnknown(m)
  546. }
  547. var xxx_messageInfo_ParkSpaceAddReply proto.InternalMessageInfo
  548. func (m *ParkSpaceAddReply) GetId() int64 {
  549. if m != nil {
  550. return m.Id
  551. }
  552. return 0
  553. }
  554. type ParkSpaceUpdateRequest struct {
  555. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  556. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  557. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  558. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  559. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  560. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id"`
  561. GardenId int64 `protobuf:"varint,7,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  562. HouseId int64 `protobuf:"varint,8,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  563. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  564. XXX_unrecognized []byte `json:"-"`
  565. XXX_sizecache int32 `json:"-"`
  566. }
  567. func (m *ParkSpaceUpdateRequest) Reset() { *m = ParkSpaceUpdateRequest{} }
  568. func (m *ParkSpaceUpdateRequest) String() string { return proto.CompactTextString(m) }
  569. func (*ParkSpaceUpdateRequest) ProtoMessage() {}
  570. func (*ParkSpaceUpdateRequest) Descriptor() ([]byte, []int) {
  571. return fileDescriptor_1e1e7f6a041ccf05, []int{11}
  572. }
  573. func (m *ParkSpaceUpdateRequest) XXX_Unmarshal(b []byte) error {
  574. return xxx_messageInfo_ParkSpaceUpdateRequest.Unmarshal(m, b)
  575. }
  576. func (m *ParkSpaceUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  577. return xxx_messageInfo_ParkSpaceUpdateRequest.Marshal(b, m, deterministic)
  578. }
  579. func (m *ParkSpaceUpdateRequest) XXX_Merge(src proto.Message) {
  580. xxx_messageInfo_ParkSpaceUpdateRequest.Merge(m, src)
  581. }
  582. func (m *ParkSpaceUpdateRequest) XXX_Size() int {
  583. return xxx_messageInfo_ParkSpaceUpdateRequest.Size(m)
  584. }
  585. func (m *ParkSpaceUpdateRequest) XXX_DiscardUnknown() {
  586. xxx_messageInfo_ParkSpaceUpdateRequest.DiscardUnknown(m)
  587. }
  588. var xxx_messageInfo_ParkSpaceUpdateRequest proto.InternalMessageInfo
  589. func (m *ParkSpaceUpdateRequest) GetSpaceNumber() string {
  590. if m != nil {
  591. return m.SpaceNumber
  592. }
  593. return ""
  594. }
  595. func (m *ParkSpaceUpdateRequest) GetSpaceArea() float64 {
  596. if m != nil {
  597. return m.SpaceArea
  598. }
  599. return 0
  600. }
  601. func (m *ParkSpaceUpdateRequest) GetComment() string {
  602. if m != nil {
  603. return m.Comment
  604. }
  605. return ""
  606. }
  607. func (m *ParkSpaceUpdateRequest) GetParkId() int64 {
  608. if m != nil {
  609. return m.ParkId
  610. }
  611. return 0
  612. }
  613. func (m *ParkSpaceUpdateRequest) GetSpaceType() int32 {
  614. if m != nil {
  615. return m.SpaceType
  616. }
  617. return 0
  618. }
  619. func (m *ParkSpaceUpdateRequest) GetId() int64 {
  620. if m != nil {
  621. return m.Id
  622. }
  623. return 0
  624. }
  625. func (m *ParkSpaceUpdateRequest) GetGardenId() int64 {
  626. if m != nil {
  627. return m.GardenId
  628. }
  629. return 0
  630. }
  631. func (m *ParkSpaceUpdateRequest) GetHouseId() int64 {
  632. if m != nil {
  633. return m.HouseId
  634. }
  635. return 0
  636. }
  637. type ParkSpaceUpdateReply struct {
  638. Origin *ParkSpaceUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  639. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  640. XXX_unrecognized []byte `json:"-"`
  641. XXX_sizecache int32 `json:"-"`
  642. }
  643. func (m *ParkSpaceUpdateReply) Reset() { *m = ParkSpaceUpdateReply{} }
  644. func (m *ParkSpaceUpdateReply) String() string { return proto.CompactTextString(m) }
  645. func (*ParkSpaceUpdateReply) ProtoMessage() {}
  646. func (*ParkSpaceUpdateReply) Descriptor() ([]byte, []int) {
  647. return fileDescriptor_1e1e7f6a041ccf05, []int{12}
  648. }
  649. func (m *ParkSpaceUpdateReply) XXX_Unmarshal(b []byte) error {
  650. return xxx_messageInfo_ParkSpaceUpdateReply.Unmarshal(m, b)
  651. }
  652. func (m *ParkSpaceUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  653. return xxx_messageInfo_ParkSpaceUpdateReply.Marshal(b, m, deterministic)
  654. }
  655. func (m *ParkSpaceUpdateReply) XXX_Merge(src proto.Message) {
  656. xxx_messageInfo_ParkSpaceUpdateReply.Merge(m, src)
  657. }
  658. func (m *ParkSpaceUpdateReply) XXX_Size() int {
  659. return xxx_messageInfo_ParkSpaceUpdateReply.Size(m)
  660. }
  661. func (m *ParkSpaceUpdateReply) XXX_DiscardUnknown() {
  662. xxx_messageInfo_ParkSpaceUpdateReply.DiscardUnknown(m)
  663. }
  664. var xxx_messageInfo_ParkSpaceUpdateReply proto.InternalMessageInfo
  665. func (m *ParkSpaceUpdateReply) GetOrigin() *ParkSpaceUpdateRequest {
  666. if m != nil {
  667. return m.Origin
  668. }
  669. return nil
  670. }
  671. type ParkSpaceDelRequest struct {
  672. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  673. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  674. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  675. XXX_unrecognized []byte `json:"-"`
  676. XXX_sizecache int32 `json:"-"`
  677. }
  678. func (m *ParkSpaceDelRequest) Reset() { *m = ParkSpaceDelRequest{} }
  679. func (m *ParkSpaceDelRequest) String() string { return proto.CompactTextString(m) }
  680. func (*ParkSpaceDelRequest) ProtoMessage() {}
  681. func (*ParkSpaceDelRequest) Descriptor() ([]byte, []int) {
  682. return fileDescriptor_1e1e7f6a041ccf05, []int{13}
  683. }
  684. func (m *ParkSpaceDelRequest) XXX_Unmarshal(b []byte) error {
  685. return xxx_messageInfo_ParkSpaceDelRequest.Unmarshal(m, b)
  686. }
  687. func (m *ParkSpaceDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  688. return xxx_messageInfo_ParkSpaceDelRequest.Marshal(b, m, deterministic)
  689. }
  690. func (m *ParkSpaceDelRequest) XXX_Merge(src proto.Message) {
  691. xxx_messageInfo_ParkSpaceDelRequest.Merge(m, src)
  692. }
  693. func (m *ParkSpaceDelRequest) XXX_Size() int {
  694. return xxx_messageInfo_ParkSpaceDelRequest.Size(m)
  695. }
  696. func (m *ParkSpaceDelRequest) XXX_DiscardUnknown() {
  697. xxx_messageInfo_ParkSpaceDelRequest.DiscardUnknown(m)
  698. }
  699. var xxx_messageInfo_ParkSpaceDelRequest proto.InternalMessageInfo
  700. func (m *ParkSpaceDelRequest) GetId() int64 {
  701. if m != nil {
  702. return m.Id
  703. }
  704. return 0
  705. }
  706. func (m *ParkSpaceDelRequest) GetGardenId() int64 {
  707. if m != nil {
  708. return m.GardenId
  709. }
  710. return 0
  711. }
  712. type ParkSpaceDelReply struct {
  713. Origin *ParkSpaceUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  714. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  715. XXX_unrecognized []byte `json:"-"`
  716. XXX_sizecache int32 `json:"-"`
  717. }
  718. func (m *ParkSpaceDelReply) Reset() { *m = ParkSpaceDelReply{} }
  719. func (m *ParkSpaceDelReply) String() string { return proto.CompactTextString(m) }
  720. func (*ParkSpaceDelReply) ProtoMessage() {}
  721. func (*ParkSpaceDelReply) Descriptor() ([]byte, []int) {
  722. return fileDescriptor_1e1e7f6a041ccf05, []int{14}
  723. }
  724. func (m *ParkSpaceDelReply) XXX_Unmarshal(b []byte) error {
  725. return xxx_messageInfo_ParkSpaceDelReply.Unmarshal(m, b)
  726. }
  727. func (m *ParkSpaceDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  728. return xxx_messageInfo_ParkSpaceDelReply.Marshal(b, m, deterministic)
  729. }
  730. func (m *ParkSpaceDelReply) XXX_Merge(src proto.Message) {
  731. xxx_messageInfo_ParkSpaceDelReply.Merge(m, src)
  732. }
  733. func (m *ParkSpaceDelReply) XXX_Size() int {
  734. return xxx_messageInfo_ParkSpaceDelReply.Size(m)
  735. }
  736. func (m *ParkSpaceDelReply) XXX_DiscardUnknown() {
  737. xxx_messageInfo_ParkSpaceDelReply.DiscardUnknown(m)
  738. }
  739. var xxx_messageInfo_ParkSpaceDelReply proto.InternalMessageInfo
  740. func (m *ParkSpaceDelReply) GetOrigin() *ParkSpaceUpdateRequest {
  741. if m != nil {
  742. return m.Origin
  743. }
  744. return nil
  745. }
  746. type ParkSpaceListRequest struct {
  747. ParkId int64 `protobuf:"varint,1,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  748. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  749. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  750. GardenId int64 `protobuf:"varint,4,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  751. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  752. SpaceNumber string `protobuf:"bytes,6,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  753. HouseId int64 `protobuf:"varint,7,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  754. HouseholdUid int64 `protobuf:"varint,8,opt,name=household_uid,json=householdUid,proto3" json:"household_uid"`
  755. BindType int32 `protobuf:"varint,9,opt,name=bind_type,json=bindType,proto3" json:"bind_type"`
  756. BindSpaceId int64 `protobuf:"varint,10,opt,name=bind_space_id,json=bindSpaceId,proto3" json:"bind_space_id"`
  757. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  758. XXX_unrecognized []byte `json:"-"`
  759. XXX_sizecache int32 `json:"-"`
  760. }
  761. func (m *ParkSpaceListRequest) Reset() { *m = ParkSpaceListRequest{} }
  762. func (m *ParkSpaceListRequest) String() string { return proto.CompactTextString(m) }
  763. func (*ParkSpaceListRequest) ProtoMessage() {}
  764. func (*ParkSpaceListRequest) Descriptor() ([]byte, []int) {
  765. return fileDescriptor_1e1e7f6a041ccf05, []int{15}
  766. }
  767. func (m *ParkSpaceListRequest) XXX_Unmarshal(b []byte) error {
  768. return xxx_messageInfo_ParkSpaceListRequest.Unmarshal(m, b)
  769. }
  770. func (m *ParkSpaceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  771. return xxx_messageInfo_ParkSpaceListRequest.Marshal(b, m, deterministic)
  772. }
  773. func (m *ParkSpaceListRequest) XXX_Merge(src proto.Message) {
  774. xxx_messageInfo_ParkSpaceListRequest.Merge(m, src)
  775. }
  776. func (m *ParkSpaceListRequest) XXX_Size() int {
  777. return xxx_messageInfo_ParkSpaceListRequest.Size(m)
  778. }
  779. func (m *ParkSpaceListRequest) XXX_DiscardUnknown() {
  780. xxx_messageInfo_ParkSpaceListRequest.DiscardUnknown(m)
  781. }
  782. var xxx_messageInfo_ParkSpaceListRequest proto.InternalMessageInfo
  783. func (m *ParkSpaceListRequest) GetParkId() int64 {
  784. if m != nil {
  785. return m.ParkId
  786. }
  787. return 0
  788. }
  789. func (m *ParkSpaceListRequest) GetPage() int64 {
  790. if m != nil {
  791. return m.Page
  792. }
  793. return 0
  794. }
  795. func (m *ParkSpaceListRequest) GetPageSize() int64 {
  796. if m != nil {
  797. return m.PageSize
  798. }
  799. return 0
  800. }
  801. func (m *ParkSpaceListRequest) GetGardenId() int64 {
  802. if m != nil {
  803. return m.GardenId
  804. }
  805. return 0
  806. }
  807. func (m *ParkSpaceListRequest) GetSpaceType() int32 {
  808. if m != nil {
  809. return m.SpaceType
  810. }
  811. return 0
  812. }
  813. func (m *ParkSpaceListRequest) GetSpaceNumber() string {
  814. if m != nil {
  815. return m.SpaceNumber
  816. }
  817. return ""
  818. }
  819. func (m *ParkSpaceListRequest) GetHouseId() int64 {
  820. if m != nil {
  821. return m.HouseId
  822. }
  823. return 0
  824. }
  825. func (m *ParkSpaceListRequest) GetHouseholdUid() int64 {
  826. if m != nil {
  827. return m.HouseholdUid
  828. }
  829. return 0
  830. }
  831. func (m *ParkSpaceListRequest) GetBindType() int32 {
  832. if m != nil {
  833. return m.BindType
  834. }
  835. return 0
  836. }
  837. func (m *ParkSpaceListRequest) GetBindSpaceId() int64 {
  838. if m != nil {
  839. return m.BindSpaceId
  840. }
  841. return 0
  842. }
  843. type ParkSpaceItem struct {
  844. SpaceNumber string `protobuf:"bytes,1,opt,name=space_number,json=spaceNumber,proto3" json:"space_number"`
  845. SpaceArea float64 `protobuf:"fixed64,2,opt,name=space_area,json=spaceArea,proto3" json:"space_area"`
  846. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment"`
  847. ParkId int64 `protobuf:"varint,4,opt,name=park_id,json=parkId,proto3" json:"park_id"`
  848. SpaceType int32 `protobuf:"varint,5,opt,name=space_type,json=spaceType,proto3" json:"space_type"`
  849. Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id"`
  850. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  851. ParkNumber string `protobuf:"bytes,8,opt,name=park_number,json=parkNumber,proto3" json:"park_number"`
  852. ParkName string `protobuf:"bytes,9,opt,name=park_name,json=parkName,proto3" json:"park_name"`
  853. ParkType int32 `protobuf:"varint,10,opt,name=park_type,json=parkType,proto3" json:"park_type"`
  854. HouseId int64 `protobuf:"varint,11,opt,name=house_id,json=houseId,proto3" json:"house_id"`
  855. HouseName string `protobuf:"bytes,12,opt,name=house_name,json=houseName,proto3" json:"house_name"`
  856. // 1 空闲 2 已售 3 已租
  857. Status int32 `protobuf:"varint,13,opt,name=status,proto3" json:"status"`
  858. PlateNo string `protobuf:"bytes,14,opt,name=plate_no,json=plateNo,proto3" json:"plate_no"`
  859. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  860. XXX_unrecognized []byte `json:"-"`
  861. XXX_sizecache int32 `json:"-"`
  862. }
  863. func (m *ParkSpaceItem) Reset() { *m = ParkSpaceItem{} }
  864. func (m *ParkSpaceItem) String() string { return proto.CompactTextString(m) }
  865. func (*ParkSpaceItem) ProtoMessage() {}
  866. func (*ParkSpaceItem) Descriptor() ([]byte, []int) {
  867. return fileDescriptor_1e1e7f6a041ccf05, []int{16}
  868. }
  869. func (m *ParkSpaceItem) XXX_Unmarshal(b []byte) error {
  870. return xxx_messageInfo_ParkSpaceItem.Unmarshal(m, b)
  871. }
  872. func (m *ParkSpaceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  873. return xxx_messageInfo_ParkSpaceItem.Marshal(b, m, deterministic)
  874. }
  875. func (m *ParkSpaceItem) XXX_Merge(src proto.Message) {
  876. xxx_messageInfo_ParkSpaceItem.Merge(m, src)
  877. }
  878. func (m *ParkSpaceItem) XXX_Size() int {
  879. return xxx_messageInfo_ParkSpaceItem.Size(m)
  880. }
  881. func (m *ParkSpaceItem) XXX_DiscardUnknown() {
  882. xxx_messageInfo_ParkSpaceItem.DiscardUnknown(m)
  883. }
  884. var xxx_messageInfo_ParkSpaceItem proto.InternalMessageInfo
  885. func (m *ParkSpaceItem) GetSpaceNumber() string {
  886. if m != nil {
  887. return m.SpaceNumber
  888. }
  889. return ""
  890. }
  891. func (m *ParkSpaceItem) GetSpaceArea() float64 {
  892. if m != nil {
  893. return m.SpaceArea
  894. }
  895. return 0
  896. }
  897. func (m *ParkSpaceItem) GetComment() string {
  898. if m != nil {
  899. return m.Comment
  900. }
  901. return ""
  902. }
  903. func (m *ParkSpaceItem) GetParkId() int64 {
  904. if m != nil {
  905. return m.ParkId
  906. }
  907. return 0
  908. }
  909. func (m *ParkSpaceItem) GetSpaceType() int32 {
  910. if m != nil {
  911. return m.SpaceType
  912. }
  913. return 0
  914. }
  915. func (m *ParkSpaceItem) GetId() int64 {
  916. if m != nil {
  917. return m.Id
  918. }
  919. return 0
  920. }
  921. func (m *ParkSpaceItem) GetCreatedAt() string {
  922. if m != nil {
  923. return m.CreatedAt
  924. }
  925. return ""
  926. }
  927. func (m *ParkSpaceItem) GetParkNumber() string {
  928. if m != nil {
  929. return m.ParkNumber
  930. }
  931. return ""
  932. }
  933. func (m *ParkSpaceItem) GetParkName() string {
  934. if m != nil {
  935. return m.ParkName
  936. }
  937. return ""
  938. }
  939. func (m *ParkSpaceItem) GetParkType() int32 {
  940. if m != nil {
  941. return m.ParkType
  942. }
  943. return 0
  944. }
  945. func (m *ParkSpaceItem) GetHouseId() int64 {
  946. if m != nil {
  947. return m.HouseId
  948. }
  949. return 0
  950. }
  951. func (m *ParkSpaceItem) GetHouseName() string {
  952. if m != nil {
  953. return m.HouseName
  954. }
  955. return ""
  956. }
  957. func (m *ParkSpaceItem) GetStatus() int32 {
  958. if m != nil {
  959. return m.Status
  960. }
  961. return 0
  962. }
  963. func (m *ParkSpaceItem) GetPlateNo() string {
  964. if m != nil {
  965. return m.PlateNo
  966. }
  967. return ""
  968. }
  969. type ParkSpaceListReply struct {
  970. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  971. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  972. List []*ParkSpaceItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  973. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  974. XXX_unrecognized []byte `json:"-"`
  975. XXX_sizecache int32 `json:"-"`
  976. }
  977. func (m *ParkSpaceListReply) Reset() { *m = ParkSpaceListReply{} }
  978. func (m *ParkSpaceListReply) String() string { return proto.CompactTextString(m) }
  979. func (*ParkSpaceListReply) ProtoMessage() {}
  980. func (*ParkSpaceListReply) Descriptor() ([]byte, []int) {
  981. return fileDescriptor_1e1e7f6a041ccf05, []int{17}
  982. }
  983. func (m *ParkSpaceListReply) XXX_Unmarshal(b []byte) error {
  984. return xxx_messageInfo_ParkSpaceListReply.Unmarshal(m, b)
  985. }
  986. func (m *ParkSpaceListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  987. return xxx_messageInfo_ParkSpaceListReply.Marshal(b, m, deterministic)
  988. }
  989. func (m *ParkSpaceListReply) XXX_Merge(src proto.Message) {
  990. xxx_messageInfo_ParkSpaceListReply.Merge(m, src)
  991. }
  992. func (m *ParkSpaceListReply) XXX_Size() int {
  993. return xxx_messageInfo_ParkSpaceListReply.Size(m)
  994. }
  995. func (m *ParkSpaceListReply) XXX_DiscardUnknown() {
  996. xxx_messageInfo_ParkSpaceListReply.DiscardUnknown(m)
  997. }
  998. var xxx_messageInfo_ParkSpaceListReply proto.InternalMessageInfo
  999. func (m *ParkSpaceListReply) GetTotal() int64 {
  1000. if m != nil {
  1001. return m.Total
  1002. }
  1003. return 0
  1004. }
  1005. func (m *ParkSpaceListReply) GetPage() int64 {
  1006. if m != nil {
  1007. return m.Page
  1008. }
  1009. return 0
  1010. }
  1011. func (m *ParkSpaceListReply) GetList() []*ParkSpaceItem {
  1012. if m != nil {
  1013. return m.List
  1014. }
  1015. return nil
  1016. }
  1017. func init() {
  1018. proto.RegisterType((*ParkAddRequest)(nil), "pb_v1.ParkAddRequest")
  1019. proto.RegisterType((*ParkAddReply)(nil), "pb_v1.ParkAddReply")
  1020. proto.RegisterType((*ParkUpdateRequest)(nil), "pb_v1.ParkUpdateRequest")
  1021. proto.RegisterType((*ParkUpdateReply)(nil), "pb_v1.ParkUpdateReply")
  1022. proto.RegisterType((*ParkDelRequest)(nil), "pb_v1.ParkDelRequest")
  1023. proto.RegisterType((*ParkDelReply)(nil), "pb_v1.ParkDelReply")
  1024. proto.RegisterType((*ParkListRequest)(nil), "pb_v1.ParkListRequest")
  1025. proto.RegisterType((*ParkItem)(nil), "pb_v1.ParkItem")
  1026. proto.RegisterType((*ParkListReply)(nil), "pb_v1.ParkListReply")
  1027. proto.RegisterType((*ParkSpaceAddRequest)(nil), "pb_v1.ParkSpaceAddRequest")
  1028. proto.RegisterType((*ParkSpaceAddReply)(nil), "pb_v1.ParkSpaceAddReply")
  1029. proto.RegisterType((*ParkSpaceUpdateRequest)(nil), "pb_v1.ParkSpaceUpdateRequest")
  1030. proto.RegisterType((*ParkSpaceUpdateReply)(nil), "pb_v1.ParkSpaceUpdateReply")
  1031. proto.RegisterType((*ParkSpaceDelRequest)(nil), "pb_v1.ParkSpaceDelRequest")
  1032. proto.RegisterType((*ParkSpaceDelReply)(nil), "pb_v1.ParkSpaceDelReply")
  1033. proto.RegisterType((*ParkSpaceListRequest)(nil), "pb_v1.ParkSpaceListRequest")
  1034. proto.RegisterType((*ParkSpaceItem)(nil), "pb_v1.ParkSpaceItem")
  1035. proto.RegisterType((*ParkSpaceListReply)(nil), "pb_v1.ParkSpaceListReply")
  1036. }
  1037. func init() {
  1038. proto.RegisterFile("park.proto", fileDescriptor_1e1e7f6a041ccf05)
  1039. }
  1040. var fileDescriptor_1e1e7f6a041ccf05 = []byte{
  1041. // 753 bytes of a gzipped FileDescriptorProto
  1042. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xc1, 0x6e, 0xd3, 0x4c,
  1043. 0x10, 0x96, 0xe3, 0xc4, 0x71, 0x26, 0x49, 0xab, 0xdf, 0x7f, 0x69, 0x8d, 0x50, 0x68, 0x70, 0x2f,
  1044. 0xb9, 0x90, 0xd2, 0x02, 0x47, 0x24, 0xda, 0x72, 0x09, 0x82, 0x0a, 0xb9, 0xf4, 0xc2, 0xc5, 0xda,
  1045. 0x64, 0x57, 0xa9, 0xd5, 0xc4, 0x5e, 0xec, 0x4d, 0xa5, 0xf4, 0x51, 0x38, 0xf2, 0x0e, 0xdc, 0x79,
  1046. 0x15, 0xee, 0x1c, 0x79, 0x00, 0xb4, 0xb3, 0xae, 0x63, 0x6f, 0xda, 0x54, 0xca, 0xa9, 0xdc, 0xb2,
  1047. 0xb3, 0xbb, 0xb3, 0xdf, 0xf7, 0xcd, 0x7c, 0xe3, 0x00, 0x70, 0x92, 0x5c, 0xf6, 0x79, 0x12, 0x8b,
  1048. 0xd8, 0xa9, 0xf1, 0x61, 0x70, 0x75, 0xe0, 0x7d, 0x37, 0x60, 0xe3, 0x13, 0x49, 0x2e, 0x8f, 0x28,
  1049. 0xf5, 0xd9, 0xd7, 0x19, 0x4b, 0x85, 0xb3, 0x0b, 0x4d, 0x79, 0x2e, 0x88, 0x66, 0xd3, 0x21, 0x4b,
  1050. 0x5c, 0xa3, 0x6b, 0xf4, 0x1a, 0x3e, 0x5e, 0x3d, 0xc5, 0x88, 0xf3, 0x04, 0x1a, 0xea, 0x00, 0x99,
  1051. 0x32, 0xb7, 0x82, 0xdb, 0x36, 0x6e, 0x93, 0x29, 0x73, 0x5c, 0xa8, 0x8f, 0xe2, 0xe9, 0x94, 0x45,
  1052. 0xc2, 0x35, 0x71, 0xeb, 0x66, 0x29, 0xaf, 0x8d, 0x49, 0x42, 0x59, 0x14, 0x84, 0xd4, 0xad, 0x76,
  1053. 0x8d, 0x9e, 0xe9, 0xdb, 0x2a, 0x30, 0xa0, 0x79, 0x4e, 0x31, 0xe7, 0xcc, 0xad, 0x75, 0x8d, 0x5e,
  1054. 0x4d, 0xe5, 0xfc, 0x3c, 0xe7, 0xcc, 0x7b, 0x0a, 0xad, 0x1c, 0x23, 0x9f, 0xcc, 0x9d, 0x0d, 0xa8,
  1055. 0x84, 0x14, 0x81, 0x99, 0x7e, 0x25, 0xa4, 0xde, 0x0f, 0x03, 0xfe, 0x93, 0x07, 0xce, 0x39, 0x25,
  1056. 0x82, 0xdd, 0xf0, 0xd0, 0x4e, 0x95, 0xdf, 0xaf, 0x68, 0xef, 0x6b, 0xa4, 0xcd, 0xd5, 0xa4, 0xab,
  1057. 0x77, 0x93, 0xae, 0x2d, 0x91, 0x5e, 0xf0, 0xb2, 0x34, 0x5e, 0x27, 0xb0, 0x59, 0x84, 0x2d, 0xa9,
  1058. 0xbd, 0x00, 0x2b, 0x4e, 0xc2, 0x71, 0x18, 0x21, 0xf0, 0xe6, 0xa1, 0xdb, 0xc7, 0x3a, 0xf5, 0x97,
  1059. 0xe8, 0xf9, 0xd9, 0x39, 0xef, 0x8d, 0x2a, 0xe0, 0x3b, 0x36, 0x59, 0x87, 0xb8, 0xf7, 0x56, 0x69,
  1060. 0x8b, 0xd7, 0xd7, 0x03, 0xd0, 0x57, 0x2c, 0x3e, 0x84, 0xa9, 0xb8, 0x41, 0x50, 0x7a, 0xd1, 0xd0,
  1061. 0x5e, 0xfc, 0x6d, 0x80, 0x2d, 0x2f, 0x0c, 0x04, 0x9b, 0x3e, 0x8c, 0x22, 0xed, 0x42, 0x33, 0xe5,
  1062. 0x64, 0xc4, 0x82, 0x51, 0x3c, 0x8b, 0x04, 0x96, 0xc9, 0xf4, 0x01, 0x43, 0x27, 0x32, 0xe2, 0x74,
  1063. 0x00, 0x46, 0x09, 0x23, 0x82, 0xd1, 0x80, 0x08, 0xb7, 0x8e, 0xb7, 0x1b, 0x59, 0xe4, 0x48, 0x2b,
  1064. 0xb2, 0xad, 0x15, 0xf9, 0x15, 0xb4, 0x17, 0xf2, 0x48, 0x85, 0xf7, 0xa0, 0x3a, 0x09, 0x53, 0xe1,
  1065. 0x1a, 0x5d, 0xb3, 0xd7, 0x3c, 0xdc, 0x2c, 0xe8, 0x2b, 0x15, 0xf1, 0x71, 0xd3, 0xfb, 0x65, 0xc0,
  1066. 0xff, 0x32, 0x74, 0x26, 0x41, 0x14, 0xcc, 0xf9, 0x0c, 0x5a, 0x0a, 0x6a, 0xc9, 0x9d, 0x0a, 0x7e,
  1067. 0x26, 0x42, 0x07, 0x14, 0xf4, 0x80, 0x24, 0x8c, 0xa0, 0x86, 0x86, 0xdf, 0xc0, 0xc8, 0x51, 0xc2,
  1068. 0xc8, 0x0a, 0x83, 0xee, 0x40, 0x1d, 0x69, 0xe4, 0xf6, 0xb4, 0xe4, 0x72, 0x40, 0x17, 0x19, 0x0b,
  1069. 0xee, 0x54, 0x19, 0x25, 0xc3, 0x72, 0xcd, 0x2c, 0xad, 0x66, 0x8f, 0xc1, 0xbe, 0x88, 0x67, 0x29,
  1070. 0x93, 0x7b, 0x75, 0xdc, 0xab, 0xe3, 0x7a, 0x40, 0xbd, 0x3d, 0xe5, 0xda, 0x05, 0xc5, 0xdb, 0xbc,
  1071. 0xfd, 0xc7, 0x80, 0xed, 0xfc, 0x54, 0xd9, 0xe0, 0x0f, 0x51, 0x0b, 0x05, 0xdf, 0xba, 0xbd, 0x9f,
  1072. 0xeb, 0x2b, 0xb4, 0xb1, 0xcb, 0xda, 0x7c, 0x84, 0xad, 0x25, 0xd6, 0x52, 0x9e, 0xd7, 0x9a, 0x3d,
  1073. 0x3b, 0x85, 0xf6, 0x59, 0x96, 0x28, 0xf7, 0xe8, 0x71, 0xa1, 0x9b, 0xd6, 0x9d, 0x14, 0xef, 0x0b,
  1074. 0xe5, 0xca, 0xc7, 0xc5, 0x9a, 0x78, 0x7e, 0x56, 0x0a, 0xfc, 0x8a, 0x93, 0xa3, 0xa0, 0xbb, 0x51,
  1075. 0xd2, 0xdd, 0x81, 0x2a, 0x27, 0x63, 0x96, 0xa1, 0xc2, 0xdf, 0xca, 0x77, 0x63, 0x16, 0xa4, 0xe1,
  1076. 0x35, 0xc3, 0x02, 0x9a, 0xd2, 0x77, 0x63, 0x76, 0x16, 0x5e, 0xb3, 0xd5, 0x9f, 0x9b, 0x7b, 0xaa,
  1077. 0xa8, 0x77, 0x96, 0xb5, 0xdc, 0x59, 0x77, 0xf7, 0xb5, 0xb3, 0x07, 0x6d, 0xfc, 0x79, 0x11, 0x4f,
  1078. 0x68, 0x30, 0xcb, 0x6b, 0xdb, 0xca, 0x83, 0xe7, 0x4a, 0xea, 0x61, 0x18, 0x51, 0x05, 0xa0, 0xa1,
  1079. 0x66, 0x86, 0x0c, 0xe0, 0xfb, 0x1e, 0xb4, 0x71, 0x53, 0x81, 0x08, 0xa9, 0x0b, 0x98, 0xa1, 0x29,
  1080. 0x83, 0x28, 0xd9, 0x80, 0x7a, 0xdf, 0x4c, 0x35, 0x58, 0xd4, 0x5a, 0xce, 0xd2, 0x7f, 0xc1, 0x0f,
  1081. 0xf7, 0x4c, 0x52, 0x6d, 0xc2, 0xdb, 0xab, 0x27, 0x7c, 0x43, 0x9b, 0xf0, 0xa5, 0x39, 0x0c, 0xe5,
  1082. 0x39, 0x5c, 0x2a, 0x58, 0xb3, 0x5c, 0xb0, 0x0e, 0x80, 0xda, 0xc2, 0xac, 0x2d, 0x05, 0x0a, 0x23,
  1083. 0x98, 0x76, 0x1b, 0xac, 0x54, 0x10, 0x31, 0x4b, 0xdd, 0x36, 0xe6, 0xcc, 0x56, 0x32, 0x23, 0x9f,
  1084. 0x10, 0xc1, 0x82, 0x28, 0x76, 0x37, 0x94, 0x5c, 0xb8, 0x3e, 0x8d, 0xbd, 0x0b, 0x70, 0xb4, 0xf6,
  1085. 0x96, 0x66, 0xd9, 0x82, 0x9a, 0x88, 0x05, 0x99, 0x64, 0xad, 0xad, 0x16, 0xb7, 0x76, 0x76, 0x2f,
  1086. 0xfb, 0x46, 0x98, 0xf8, 0x8d, 0xd8, 0xd2, 0x4d, 0xb5, 0xf8, 0x50, 0x1c, 0xef, 0x7c, 0x79, 0xc4,
  1087. 0x93, 0x98, 0xb3, 0x44, 0xcc, 0x9f, 0xab, 0xf6, 0xde, 0xe7, 0xc3, 0xfd, 0xab, 0x83, 0xa1, 0x85,
  1088. 0xff, 0xf3, 0x5e, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x4e, 0x24, 0x9a, 0xf5, 0x09, 0x00,
  1089. 0x00,
  1090. }